Is there a way to review access/ permissions on all repositories without visiting each one? #23739
-
I’d like to review who has access where across my organisation. We have 100+ repos so visiting each one is not an option. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi there! 👋 Welcome to the Community! This isn’t really possible in the web UI, I’m afraid. Even in GitHub Enterprise, exporting a report is done repo by repo: You could potentially use the API to speed things up. There is an endpoint to list organization repos: GitHub DeveloperRepositoriesGet started with one of our guides, or jump straight into the API documentation. An endpoint to list which teams have access to the repo, and at what level: GitHub DeveloperRepositoriesGet started with one of our guides, or jump straight into the API documentation. And an endpoint to list repository collaborators, which would include outside collaborators and org members given access outside of a team: GitHub DeveloperCollaboratorsGet started with one of our guides, or jump straight into the API documentation. |
Beta Was this translation helpful? Give feedback.
Hi there! 👋 Welcome to the Community!
This isn’t really possible in the web UI, I’m afraid. Even in GitHub Enterprise, exporting a report is done repo by repo:
https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/viewing-people-with-access-to-your-repository
You could potentially use the API to speed things up.
There is an endpoint to list organization repos:
GitHub DeveloperRepositories
Get started with one of our guides, or jump straight into the API documentation.
An endpoint to list which teams have access to the repo, and at what level:
GitHub DeveloperRepositories
Get started with one of our guides, or jump straight into the API documentation.
A…