Read all available permissions via API/REST
Hi,
for doing some reporting I would like to read from a given RTC(Jazz) server all permissions (that are possible to assign to a role).
Is there any API available that can be used for getting this information?
My target version is 6.0.1.
Thank you
|
Accepted answer
Following HTTP GET calls will provide you a list of all available permissions:
https://<server>:<port>/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/permissionExtensions?context=1&processAreaItemId=<process-area-uuid> https://<server>:<port>/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/permissionExtensions?context=2&processAreaItemId=<process-area-uuid> Marko Tomljenovic selected this answer as the correct answer
Comments
Marko Tomljenovic
commented Apr 29 '16, 7:51 a.m.
context 1 returns the permissions defined on the project area configuration
context 2 returns the permissions defined on the team area configuration
The processAreaItemId must be the project area itemid.
Why is it required to give a process area id?
I thought the available permissions are defined per server installation (= repository)?
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.