james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-2450) Display scopes while GETTING domain quotas
Date Wed, 04 Jul 2018 09:09:00 GMT

     [ https://issues.apache.org/jira/browse/JAMES-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tellier Benoit closed JAMES-2450.
---------------------------------

> Display scopes while GETTING domain quotas
> ------------------------------------------
>
>                 Key: JAMES-2450
>                 URL: https://issues.apache.org/jira/browse/JAMES-2450
>             Project: James Server
>          Issue Type: Improvement
>          Components: mailbox, webadmin
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
>             Fix For: master
>
>
> h2. Description  
> The quota of a user is defined as  follow:
>  - If a quota is defined at the *user level* use it
>  - Else, rely on the *domain level* quota
>  - Else, rely on the *global level* quota
> To be noted that count and size quota are resolved independently.
> Hence, the quota applicable by default to a domain is defined by the **global** and **domain**
scopes. However, from the domain quota endpoint, this information can not be retrieved.
> Note that OpenPaaS ADMIN needs consolidated information for this a part of https://ci.linagora.com/linagora/lgs/openpaas/linagora.esn.admin/issues/438
> h2.  Expected result  
> We should return:
> {code:java}
> {
>  "global": {"count":52,"size":42}
>  "domain": {"count":25,"size":142}
>  "computed": {"count":25,"size":142}
> }
> {code}
> That would be consistant with user's `curl -XGET http://ip:port/quota/users/usernameToBeUsed`
> h2.  Current behaviour 
> We return only:
> {code:java}
> {"count":25,"size":142}
> {code}



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