You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Matthieu Baechler (JIRA)" <se...@james.apache.org> on 2018/02/26 16:41:00 UTC
[jira] [Created] (JAMES-2344) WebAdmin should allow user quota
management
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