Welcome to the Jazz Community Forum
Get Repository Permissions for logged in user via RTC API

Hi,
for some reporting purposes I would like to fetch via API the repository permissions that a logged in user (in the teamrepository object) currently has.
This code (which I adapted a little bit) only works if the user is JazzAdmin
http://www.joshuabambrick.com/assign-repository-permissions-rtc/
If the user is not JazzAdmin then a call to ExternalUserRegistryManager.fetchGroupsForUser(...) throws an exception, and not even the PermissionDeniedException (like described in the Javadoc) but a ServiceMethodInvocationError.
Any ideas how to solve this? Java API would be preferred but REST calls would also be ok.
Thank you
Comments
Marko Tomljenovic
Apr 18 '16, 10:36 a.m.Also this post did not help: https://jazz.net/forum/questions/157888/how-to-get-repository-permissions-of-user-in-rtc-using-plain-java-api