It's all about the answers!

Ask a question

Read all available permissions via API/REST

Marko Tomljenovic (31643105) | asked Apr 29 '16, 5:01 a.m.
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 (170213) | 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:
Marko Tomljenovic selected this answer as the correct answer

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.