[x] - Re: [Web-cyradm] Quota for Domain Administrator?
mail at ChristianAnton.de
Thu Nov 25 00:32:24 CET 2004
Lukasz Marciniak schrieb:
> In attachments you can find patch for "Quota for domains".
> I will try to shortly describe changes made by this patch:
> - i added column "max space usage" domain list (I'm not good in invent
> names, so you can change it to some which will be more meaningful)
> - when superuser add or change domain he can set quota for domain (or
> set to "0" to disable this feature)
> - when domain admin or superuser add new account, program sum quotas for
> all accounts in this domain and compare it with quota for domain
> - if there is no space left it prints message, if space left is smaller
> then default quota it corects proposed size for quota.
> - _if quota is empty program set quota to default value (or corected
> value like above)_
> - when we change quota for account and no space left _quota NOT change_
> (if space is smaller then requested value is corrected)
> _When domain quota is set to "0", web-cyradm should work like before
> this patch!_
> TO DO:
> - what to do when superuser change domain quota to smaller value or
> change from no domain quota and requested domain quota will be smaller
> then sum of account quotas
> - permit superuser to change values without limites
> - code clean-up (especialy in setquota.php)
> I'm looking forward to any coments, sugestions and even complains :-)
> Best rgds
I installed it right now and i must say:
THANK YOU A LOT, now everything is like i wanted it to have....
More information about the Web-cyradm