It's all about the answers!

Ask a question

Read all available permissions via API/REST


Marko Tomljenovic (31647109) | asked Apr 29 '16, 5:01 a.m.
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


permanent link
Stefan Oblinger (185213) | answered Apr 29 '16, 7:27 a.m.
edited Apr 29 '16, 8:00 a.m.
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.


Marko Tomljenovic commented Apr 29 '16, 8:47 a.m. | edited Apr 29 '16, 9:02 a.m.

Why is it required to give a process area id?

I thought the available permissions are defined per server installation (= repository)?

Your answer


Register or to post 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.