How to set Role Permissions using RQM API?
![](http://jazz.net/_images/myphoto/35c6df45ccd7d41e94dfda4a8e24e299.jpg)
CLM 6.0
RQM API Permissions seems to be relevant, but, I can't figure out how to make it work.
Thanks,
Liora
Accepted answer
![](http://jazz.net/_images/myphoto/35c6df45ccd7d41e94dfda4a8e24e299.jpg)
Liora, I am no aware of any published API to set permissions in RQM. It's more about the "process" than the "resources" - the Reportable REST API is about resources.
The part that you quoted does not refer to the permission manipulation. Rather, it states what permissions are required for the specific HTTP operations. For example, to "GET" a resource, the only permission you need is "XML Export". If you want to "POST" a "Test Case" resource, you need both the "XML Import/Post" and "Save Test Case/Create" permissions.
The part that you quoted does not refer to the permission manipulation. Rather, it states what permissions are required for the specific HTTP operations. For example, to "GET" a resource, the only permission you need is "XML Export". If you want to "POST" a "Test Case" resource, you need both the "XML Import/Post" and "Save Test Case/Create" permissions.
Comments
![](http://jazz.net/_images/myphoto/35c6df45ccd7d41e94dfda4a8e24e299.jpg)
Thanks Donald for your answer.
Do you know if there are java APIs or other to manipulate the permissions?
![](http://jazz.net/_images/myphoto/0227396f4efb17d0baa0c12dd70df878.jpg)
Unfortunately no. RQM only supports OSLC API and Reportable REST API, and neither exposes the permission operations.
https://jazz.net/forum/questions/103611/using-java-api-to-get-testcase-from-rqm
https://jazz.net/forum/questions/134089/java-code-to-extract-rqm-data
https://jazz.net/forum/questions/167373/how-to-programmatically-call-queries-saved-in-rqm-and-cq-using-java