[GH-ISSUE #279] Add a feature to override quota setting per account #263

Closed
opened 2026-02-27 11:10:52 +03:00 by kerem · 6 comments
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/279

Originally assigned to: @tonioo on GitHub.

Originally created by Reza Muhammad on 2012-06-22T16:09:01Z

There should be a way for admins (or reseller / super admins) to override the quota of a user account.

In my case, I set a default of (for example) mydomain.com to have a 1024MB for the quota. But there are a few users that I will let them have 2048MB.

Right now, the only way I can do that is by increasing the domain's quota to 2048MB (by super admin), edit the intended users' quota to 2049MB and change the default quota back to 1024MB. Personally, I don't think that is practical

Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/279 Originally assigned to: @tonioo on GitHub. **Originally created by Reza Muhammad on 2012-06-22T16:09:01Z** There should be a way for admins (or reseller / super admins) to override the quota of a user account. In my case, I set a default of (for example) mydomain.com to have a 1024MB for the quota. But there are a few users that I will let them have 2048MB. Right now, the only way I can do that is by increasing the domain's quota to 2048MB (by super admin), edit the intended users' quota to 2049MB and change the default quota back to 1024MB. Personally, I don't think that is practical
kerem 2026-02-27 11:10:52 +03:00
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2012-06-26T08:41:26Z

Applied in changeset commit:9e4b0161df3b.

<!-- gh-comment-id:29815632 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2012-06-26T08:41:26Z** Applied in changeset commit:9e4b0161df3b.
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Reza Muhammad on 2012-06-26T09:23:39Z

Hey Antoine,

The super admin still can not override the quota for accounts. Here's my workflow:

  • Change default domain.com's quota from 100MB to 1024MB
  • Change user1@domain.com's quota from 100MB to 2048MB. It says "Account Updated" but that user's quota is actually set to 1024MB (not 2048MB).
  • Change user1@domain.com's quota to 512MB. It says "Account Updated" but the quota stays at 1024MB.
  • Change user2@domain.com's quota from 100MB to 512MB. Same like before, it sets the quota to 1024MB instead.
<!-- gh-comment-id:29815633 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Reza Muhammad on 2012-06-26T09:23:39Z** Hey Antoine, The super admin still can not override the quota for accounts. Here's my workflow: - Change default _domain.com_'s quota from 100MB to 1024MB - Change _user1@domain.com_'s quota from 100MB to 2048MB. It says "Account Updated" but that user's quota is actually set to 1024MB (not 2048MB). - Change _user1@domain.com_'s quota to 512MB. It says "Account Updated" but the quota stays at 1024MB. - Change _user2@domain.com_'s quota from 100MB to 512MB. Same like before, it sets the quota to 1024MB instead.
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2012-06-26T09:35:52Z

It should work now, can you retry ?

<!-- gh-comment-id:29815634 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2012-06-26T09:35:52Z** It should work now, can you retry ?
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Reza Muhammad on 2012-06-26T10:25:48Z

those tests were executed with revision 8efc3ec5d55a source code. I have deleted all the .pyc just to be sure but it was like the above

<!-- gh-comment-id:29815639 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Reza Muhammad on 2012-06-26T10:25:48Z** those tests were executed with revision 8efc3ec5d55a source code. I have deleted all the .pyc just to be sure but it was like the above
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2012-06-26T10:48:39Z

Can you try with revision 145fd72fca82 (which is the newest one).

<!-- gh-comment-id:29815640 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2012-06-26T10:48:39Z** Can you try with revision 145fd72fca82 (which is the newest one).
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Reza Muhammad on 2012-06-26T16:56:12Z

nice.. it works now.

<!-- gh-comment-id:29815642 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Reza Muhammad on 2012-06-26T16:56:12Z** nice.. it works now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#263
No description provided.