Feature #1611
Add support for default quotas
Status: | Closed | Start date: | 10/26/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Carlos Martín | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 4.0 | |||
Resolution: | fixed | Pull request: |
Description
Some thoughts:
If the default quotas are edited, they should be immediately available to all users and groups; otherwise users wouldn't be able to know how much resources they can consume.Having the default quotas information inside each User and Group doesn't seem very practical, so we could try to implement it this way:
- A quota limit of '0' is unlimited, we could say '-1' means the default one
- Create a new xmlrpc call, something like one.system.conf or one.system.defaultquotas. The commands would make a call for the pool, another for the default quotas, and substitute the '-1' limits.
Related issues
Associated revisions
Feature #1611: Start working in support for default User quotas
Feagture #1611: Make the default quotas work for both user and group
Feature #1611: Add xml-rpc methods to retrieve and update the default user & group quotas
Feature #1611: Add a top level xml element to the default quota info methods
Feature #1611: Add default quota info and update methods to ruby oca
Feature #1611: Show the default quotas limit in oneuser/group list
Feature #1611: New (provisional?) method oneuser defaultquota
Feature #1611: Create new class DefaultQuotas, and disable the limit '-1' for def. quotas
Feature #1611: DefaultQuotas methods to & from xml
Feature #1611: Add persistence to default quotas, in a new DB table
Feature #1611: When a new usage quota is created, the limit is set to -1 (use default)
Feature #1611: Fix quota cleanup
Revert "Feature #1611: Add default quota info and update methods to ruby oca"
This reverts commit 2fd07e84562d3f7222c16deccaf364a4c5ba4910.
Feature #1611: Move default quotas ruby oca methods to new class System
Feature #1611: Merge default quota and individual quota update methods
Feature #1611: Show default quota limits in oneuser/group show
Feature #1611: Add a simple exception message in the rare cases when a pool can be retrieved, but the def. quotas can't
Feature #1611: Use the helper client in oneuser/group defaultquota method
Feature #1611: Fix bug in onegroup/user defaultquota, file argument was ignored
Feature #1611: Fix bug in Quota::cleanup_quota.
A limit of 0 now is not the default one, which means that the limit was set manually and should not be automatically cleaned
Feature #1611: Instead of changing negative limits to 0, report the error
Feature #1611: Better handling of default vs non-default quotas
Feature #1611: Clean DefaultQuotas to/from xml methods
feature #1611: Safer virtual destructor for Quotas
feature #1611: Default attribute for quotas can only be set at initialization
feature #1611: Abstracts system properties and system DB management
Feature #1611: Migrator creates new system table, and changes the quota limits from '0' to '-1'
Feature #1611: Add default quotas methods to Java OCA
Feature #1611: Add tests for default quotas in Java OCA
Feature #1611: Start working in support for default User quotas
Feagture #1611: Make the default quotas work for both user and group
Feature #1611: Add xml-rpc methods to retrieve and update the default user & group quotas
Feature #1611: Add a top level xml element to the default quota info methods
Feature #1611: Add default quota info and update methods to ruby oca
Feature #1611: Show the default quotas limit in oneuser/group list
Feature #1611: New (provisional?) method oneuser defaultquota
Feature #1611: Create new class DefaultQuotas, and disable the limit '-1' for def. quotas
Feature #1611: DefaultQuotas methods to & from xml
Feature #1611: Add persistence to default quotas, in a new DB table
Feature #1611: When a new usage quota is created, the limit is set to -1 (use default)
Feature #1611: Fix quota cleanup
Revert "Feature #1611: Add default quota info and update methods to ruby oca"
This reverts commit 2fd07e84562d3f7222c16deccaf364a4c5ba4910.
Feature #1611: Move default quotas ruby oca methods to new class System
Feature #1611: Merge default quota and individual quota update methods
Feature #1611: Show default quota limits in oneuser/group show
Feature #1611: Add a simple exception message in the rare cases when a pool can be retrieved, but the def. quotas can't
Feature #1611: Use the helper client in oneuser/group defaultquota method
Feature #1611: Fix bug in onegroup/user defaultquota, file argument was ignored
Feature #1611: Fix bug in Quota::cleanup_quota.
A limit of 0 now is not the default one, which means that the limit was set manually and should not be automatically cleaned
Feature #1611: Instead of changing negative limits to 0, report the error
Feature #1611: Better handling of default vs non-default quotas
Feature #1611: Clean DefaultQuotas to/from xml methods
feature #1611: Safer virtual destructor for Quotas
feature #1611: Default attribute for quotas can only be set at initialization
feature #1611: Abstracts system properties and system DB management
Feature #1611: Migrator creates new system table, and changes the quota limits from '0' to '-1'
Feature #1611: Add default quotas methods to Java OCA
Feature #1611: Add tests for default quotas in Java OCA
Feature #1611: Insert default quotas element in the USER & USER_POOL xmls
This saves the extra xmlrpc call each time the pool/user is shown
Feature #1611: Do not parse xml strings again in the cli
History
#1 Updated by Ruben S. Montero over 8 years ago
- Status changed from New to Closed
- Assignee set to Carlos Martín
- Resolution set to fixed