Skip to content

Feature/implement default quota for groups - #2858

Open
hefftich wants to merge 7 commits into
nextcloud:masterfrom
Dataport:feature/implement_default_Quota_for_Groups
Open

Feature/implement default quota for groups#2858
hefftich wants to merge 7 commits into
nextcloud:masterfrom
Dataport:feature/implement_default_Quota_for_Groups

Conversation

@hefftich

Copy link
Copy Markdown

Summary

We need a way for admins to set default quotas for team folder creation, based on group membership. This needs a group -> quota mapping in the Teams admin settings.

Admin settings --> Teams

  • In the Team settings, admins can add entries to a table, defining default quotas for groups.
  • When a user creates a new team, the highest quota of the groups, this user is a member of, gets applied to the new Team folder.
  • At least a line for "all" is always present in the table, which is applied at team creation, when the user isn't a member of any other quota group.
  • The three-dot menu lets admins delete any mapping, despite "all".
  • The quotas only get applied at team creation. An admin can alway change the quota of existing teams later on.
group | default quota | options -- | -- | -- all | 100 MB |   marketing | 2 GB | ... sales | 10 GB | ... engineering | 5 GB | ...

Examples

  • Bob is a member in the groups marketing and engineering. He creates a new team, which gets a quota of 5 GB.
  • Alice is not a member of any groups defined in this list. Her newly created team gets a quota of 100 MB.

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI
autocreation disabled banner

Fin-c and others added 7 commits August 28, 2026 10:43
Co-authored-by: Copilot <copilot@github.com> GPT-5.6 Terra

Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
…/implement_default_Quota_for_Groups

# Conflicts:
#	src/components/AdminTeamFolders.vue
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
…bled

Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Stefan Lender <Stefan.Lender@dataport.de>
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants