Check a team's permission on a repository
One step with GitHub. We can help you get access.
Look something up
Check a team's permission on a repository
with GitHub
Use GitHub: its GitHub v3 REST Teams API lets you check a team's permission on a repository in a single step (GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}). capabilities.work can help you get signed up and connected.
- Does a team have push or admin rights on a specific repo?
- What level of access does my team have to a repository, counting parent teams?
Say it to your AI assistant
- Check what repository role team {team_slug} holds on the {owner}/{repo} repo in {org}.
- Tell me whether {team_slug} in {org} can push to repository {owner}/{repo}.
For your developer
GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} in GitHub v3 REST Teams API. Full spec on APIs.io.