[ https://issues.apache.org/jira/browse/JAMES-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier updated JAMES-4136: ---------------------------------- Description: 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. was: 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 /users/btell...@linagora.com/groups {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 /users/btell...@linagora.com/groups {code} Will remove the users from all the groups he belong to. {code:java} curl -XDELETE /address/groups {code} Will remove all groups. > 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