GET a list of user privileges granted on a repository

R_Peres avatarR_Peres created an issue

This call is not working. I am making the following request: I know that I have permissions (admin) on the repository, but It will only return:

[] (empty array)

Another example, If I try to get my privileges like this:

(meanwhile it was changed)

Although I have read permission on the same repo (assar-chouricas) it won't show me that on the list.

Comments (5)

  1. Jon Mooring

    Only users who have been granted explicit user-level access to the repository (not via groups or owner/creator rights) are exposed by the /privileges/ endpoint.

    If you would like to see users granted access via groups, please use the /group-privileges/ endpoint like so:

    If you need to know the owner or creator of a repository, please use the /repositories/ endpoint like so:

    Hope this helps,

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.