Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Accepted answer

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

0 votes

Comments

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

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Apr 29 '16, 5:01 a.m.

Question was seen: 2,539 times

Last updated: Apr 29 '16, 9:02 a.m.

Confirmation Cancel Confirm