Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

How to get "Individual permissions" report from the API

In the Enterprise version of github if you browse to:

https://<my-github>.com/stafftools/repositories/:org/:repo/permissions

you can see a table under the heading "Individual permissions" which lists out all the users who have access to this repo and the means they use to access it, showing the most permissive access.

 

Is there any way to get this data from the API? So far, I have only found ways to see the access level. I have not found anything that shows how the access was granted. It would be nice even if I could just grab this table programatically.

 

 

1 Reply
GitHub Staff
Message 2 of 2

Re: How to get "Individual permissions" report from the API

Hey @fei0x!

 

This is a good question - I would recommend writing into GitHub Enterprise Support at https://enterprise.github.com/support for some help with this particular issue, as they'll be much more familiar an can help triage any feature requests that might come out of this!