[
https://issues.apache.org/jira/browse/JAMES-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tellier Benoit resolved JAMES-2344.
-----------------------------------
Resolution: Fixed
Merged
> WebAdmin should allow user quota management
> -------------------------------------------
>
> Key: JAMES-2344
> URL: https://issues.apache.org/jira/browse/JAMES-2344
> Project: James Server
> Issue Type: Bug
> Components: webadmin
> Affects Versions: 3.0.1
> Reporter: Matthieu Baechler
> Priority: Major
>
> Endpoint should be
> {code:java}
> /quota/users/{user}/size{code}
> and
> {code:java}
> /quota/users/{user}/count{code}
> and should support PUT, DELETE and GET verbs.
> GET should return hierarchical values like :
>
> {code:java}
> {
> default : {
> size: "12345"
> },
> domain : {
> count : "12345"
> },
> user : {
> size : "-1", //for infinity
> count : "99999"
> },
> computed : {
> size : "-1",
> count: "99999"
> }
> }
> {code}
> "-1" should be considered a special value meaning infinity.
> Setting a quota that is smaller that current user usage should return a 409
> Conflict response.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]