[ 
https://issues.apache.org/jira/browse/JAMES-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955978#comment-17955978
 ] 

Benoit Tellier commented on JAMES-4136:
---------------------------------------

I propose to generify the above proposal to include handling of other mapping 
types thus addressing aliases, address mappings, forwards, etc...

> Improve group managements
> -------------------------
>
>                 Key: JAMES-4136
>                 URL: https://issues.apache.org/jira/browse/JAMES-4136
>             Project: James Server
>          Issue Type: Improvement
>          Components: RRT, webadmin
>            Reporter: Benoit Tellier
>            Priority: Major
>
> h3. Why?
>  -> Complicated to easily audit which groups a user is part of.
>  -> Complicated to remove a user from all the groups he belong
>  -> Complicated to remove all groups when migrating to an alternative
> h3. What?
> Add additional webadmin routes
> {code:java}
> curl -XGET /mappings/sources/u...@domain.tld?type=group
> {code}
> Will list all groups this user belong to:
> {code:java}
> ["ja...@linagora.com", "tm...@linagora.com", "cos...@linagora.com"]
> {code}
> {code:java}
> curl -XDELETE /mappings/sources/u...@domain.tld?type=group
> {code}
> Will remove the users from all the groups he belong to.
> {code:java}
> curl -XDELETE /address/groups
> {code}
> Will remove all groups.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to