Manage repository access
Repository admins decide who can work on a repository under Settings → Access. Organization members also get the organization's default repository permission.
Roles
Roles are cumulative; each includes everything the one before it can do.
- Reader: read the code, issues and pull requests, open issues and comment.
- Triager: also triage issues and pull requests: labels, assignees, milestones, pinning and locking.
- Writer: also push branches and merge pull requests.
- Maintainer: also open the repository's Settings.
- Admin: also manage access, rulesets, visibility, transfer and deletion.
Add a collaborator
- Choose Add collaborator.
- Search for the user by handle (at least two characters) and pick them.
- Choose a role and confirm.
Change a collaborator's role from the menu in their row, or remove them with the bin icon. From the terminal:
| 1 | cafe repo collaborator add alice --role repo-writer |
| 2 | cafe repo collaborator remove alice |
The CLI can grant repo-reader, repo-triager or repo-writer; use the
browser for higher roles.
Give a team access
Repositories owned by an organization also have a Teams table listing every team in the organization with its role on this repository, or No access. Pick a role to grant access, change it in place, or use the bin icon to revoke it. See teams.