sqm

Implement quote per user.

Registered by Elton Pereira de Lima on 2009-08-27

Can be set a default quota or per user.
Must be stored how much quote each user used by month.

Blueprint information

Status:
Started
Approver:
Elton Pereira de Lima
Priority:
Essential
Drafter:
Elton Pereira de Lima
Direction:
Needs approval
Assignee:
Elton Pereira de Lima
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Beta Available
Milestone target:
milestone icon 0.1
Started by
Elton Pereira de Lima on 2009-08-28

Related branches

Sprints

Whiteboard

The quota control will be done through stored procedures (written in PL / Python).

The following procedures we have implemented:

* Update_user_block_flag_config - Executed everytime a registry is made some operation on the record 'default_quota' config table is updated the flag of each block in the User table network_user. It is checked if the User have custom quota, if it does not, the default quota will be used for comparison, and if the quota limit (custom or standard) exceeded, the User is blocked.

* Update_user_block_flag_quote_custom - Update the flag of each block in the User table network_user every time the value of the share pattern is modified. WARNING: If the default quota is deleted all the users who do not possess personal share will have access blocked.

* update_quote -Executed when a record is inserted in the table network_traffic, he is also responsible for managing the blocking flag for each User when the quota is exceeded.

03/09/2009 11:20

The status of the individual quota is recorded in Table quote, month by month, and is also recorded the date and time that your quota has been exceeded.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.