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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/06/25 06:52:00 UTC

[jira] [Resolved] (JAMES-2344) WebAdmin should allow user quota management

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