Jump to content
We've recently updated our Privacy Statement, available here ×

Get permissions for all resources of a specific role/user


krigu

Recommended Posts

For a current project it is required to display the effective permissions for the complete repository for a specific role/user. Currently we are achieving that by querying the repository recursive via REST-API (rest_v2/resources/) and then execute a single request for each resource to the permissions service (rest_v2/permissions/). For larger repositories, this generates a lot of requests and works poorly from a performance standpoint.

Is there a better way to get the effective permissions for the all resources of a role/user, preferably via REST-API?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...