james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Baechler (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2344) WebAdmin should allow user quota management
Date Mon, 26 Feb 2018 16:41:00 GMT
Matthieu Baechler created JAMES-2344:
----------------------------------------

             Summary: 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


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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message