'Azure DevOps - Group permission over a repository and builds related to that repository

How do I know what actions a particular group can perform over a particular repository? or a particular pipeline?

I am using the DevOps API to get a list of all the Groups, Repositories, and Builds. But I don't know how to combine them together to get the actions that a Group can perform over that repository?

Is there an API that would help me do this?



Solution 1:[1]

I attempted and tested with the related Azure DevOps REST API for Security, and it seems that there is not any available API can get the detailed permissions of a particular group on the particular repository or pipeline.

[UPDATE]

Maybe, you can try the following steps to see if you can find an available API for use:

  1. Navigate to the Security page of a particular repository or pipeline.
  2. Press F12 to open the Developer Tools of the browser and select Network tab. And Clean all existing logs.
  3. On the Security page, click on a particular group to show the permissions of it.
  4. From the logs on the Network tab, you can see some API requests are listed.
  5. From the listed API requests, you should be able to find the related API.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1