Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added per-user quota admin api #576

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Michael-Hollister
Copy link

We currently have the ability to set quotas for users in the config file via matching glob patterns. This works well primarily in the case for setting per-domain quotas for users rather than specific users. Although we can set glob entries that match specific users, it does not scale well when having to specify quota values for lots of users. Additionally, repo admins who do not have access to the config file cannot programmatically set user quotas.

To address these current quota limitations, I've added support via the admin API the ability to get and set per-user quotas in the MMR database. By default, the config quota globs take precedence unless a user's quota values are specifically set via the admin API.

See admin API docs for further details regarding endpoints added.

@Michael-Hollister Michael-Hollister force-pushed the michael/per-user-quotas-admin-api branch from 6413675 to edee81e Compare May 9, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant