History | View | Annotate | Download (7.8 kB)
Sync quotas efficiently when importing resources
When changing the default base quota (uplimit) for a preexisting resource,do a bulk update of the related holdings.When importing a new resource, create the new related holdings.
Prompt the admin for the uplimit in the management command, if a config...
New call astakos/api/service_quotas
Returns quotas for all resources associated with the service that makesthe call.
API call for resources
New quota functions in astakos
Handle quotas as nested dictionaries indexed by:user uuid, source, resource name
Move quota-related code out of models.py
Intention is to collect all quota-related code to a single file.