History | View | Annotate | Download (7.6 kB)
astakos: Remove unneeded import of a constant
Merge branch 'feature-change-astakos-commands' into feature-quotas
Conflicts: snf-astakos-app/astakos/im/management/commands/resource-list.py snf-astakos-app/astakos/im/management/commands/service-list.py snf-astakos-app/astakos/im/management/commands/service-modify.py...
astakos: Use `with' to open file in management command
astakos: Sync users when importing base quotas from file
astakos: Move quota syncing code in quotas.py
Sync user after changing base quota
astakos: Remove obsolete fields of AstakosUserQuota
Remove quantity, import_limit, export_limit.Update user-set-initial-quota management command.
Remove resource/service model dependencies
- Remove foreign key dependency between Service/Resource model. Replace it with a service CharField to keep track of the service identifier that the resource was registered from.- Remove all references to resource service name in resource lookups
Minor changes in astakos commands
Adjust astakos to new holding design
Simplifications due to removal of quantity and merging capacity into holding.Also make sure that holders and resources are represented as strings inquotaholder calls.
wip Update astakos.im to simplified quotaholder policy
Fix user-set-initial-quota command
Do not display unnecessary message:"Please use either `--from-file' or `--set-capacity' options" while importing quotas from file.
Add 'default' capacity to user-set-initial-quota
Rename option --force to --no-confirm for clarity
Set initial user quota from the command line
Refs #3373
Add option --set-capacity in user-set-initial-quota that setsinitial quota for a specified user/resource pair.
Importing from a file requires option --from-file.
fix and better document quota export/import
Fix bug in user-set-initial-quota command
Provide commands for importing/exporting existing user resource policies