Skip to content

feat: add Teams admin settings and group-based creation limits - #2698

Closed
lennart441 wants to merge 2 commits into
nextcloud:masterfrom
lennart441:feat/teams-admin-creation-limits
Closed

feat: add Teams admin settings and group-based creation limits#2698
lennart441 wants to merge 2 commits into
nextcloud:masterfrom
lennart441:feat/teams-admin-creation-limits

Conversation

@lennart441

@lennart441 lennart441 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a Teams admin settings section where admins can restrict which Nextcloud groups may create teams. The restriction is enforced in the API and UI: create actions stay hidden without permission, and the empty-state copy no longer prompts users to create a team.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI
    Assisted by: Cursor:Grok-4.5

Screenshot of the teams app without permission to create a team
Bildschirmfoto_20260731_130547

Admin settings of teams after
Bildschirmfoto_20260731_130402
]

feat: hide create actions and adapt empty-state when create is denied

Signed-off-by: Lennart Joswig <lennart.joswig@dataport.de>
@lennart441
lennart441 marked this pull request as draft July 31, 2026 11:24
@lennart441
lennart441 marked this pull request as ready for review August 4, 2026 12:17
@jospoortvliet

Copy link
Copy Markdown
Member

I would suggest we stick with the quota mgmt features rather than blocking creation of teams for some users:
nextcloud/groupfolders#4975

IF we want this feature, let's only allow configuring it in config.php, so that it's not the first thing admins might do when setting up Nextcloud, treating Nextcloud Teams like Microsoft Teams.

@mejo-

mejo- commented Aug 11, 2026

Copy link
Copy Markdown
Member

I would suggest we stick with the quota mgmt features rather than blocking creation of teams for some users.

I agree. I think we do many Nextcloud users a favour if we take a bold stance here and don't allow to disable creation of teams.

@lennart441

Copy link
Copy Markdown
Contributor Author

Closing in favor of #2743, which follows the config.php-based direction from the discussion here (no admin-UI kill-switch for team creation / team spaces).

Superseded by: #2743

@lennart441 lennart441 closed this Aug 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow restricting team-creation to certain groups

3 participants