-
Notifications
You must be signed in to change notification settings - Fork 14
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
User config shall take precedence over org config #241
Comments
Watch out, for quotas it'll work as 2 different checks. In pseudo-code # Imagine user john_smith of the acme_org
acme_org.users.service_usage.reduce(:+1) < acme_org.max_quota_allowance or raise 'org has no quota left'
# AND...
john_smith.service_usage < john_smit.max_quota_allowance or raise 'user has exceeded their quota' |
Related: #280 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a pretty common use case for services:
cc/ @ethervoid
The text was updated successfully, but these errors were encountered: