It's all about the answers!

Ask a question

Get rolebased permissions programmaticly serverside?


Alexandra de Groof (11) | asked Jun 13 '18, 7:32 a.m.

I want to check if user has permission for the actions he takes, even if one of his roles is ignored. For that I need to check in advisor if a role has permission to take a certain action. I think i need to use a call to "https://jazzserver/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/permissions?context=1&processAreaContext=1&processAreaItemId=id&roleId=role", but i don't really know how to call that from inside the java API. Any help or better solutions are highly appreciated.

Example use case: every teammember has role creator but it should only be applicable if user is creator of workitem, if not I need to check if maybe user is allowed to take the intended actions anyway because he's admin or something. 

Be the first one to answer this question!


Register or to post your answer.