I need to transfer a repository from a user account to an organization the user is a member of. Per GitHUb's docs, I need to make the user account an admin of the organization first.
GitHub's docs describe the different levels of access to an organization, but I can't find out how to actually change a user's level of access to an organisation.
How can I make the organization member an admin?
Access levels in GitHub are configured per Team inside the Organization.
- Log into GitHub.
- Switch your account context to the organization using the dropdown near the top-left of the screen.
- Click the Teams tab at the far right of the tab bar.
- Decide whether you want to change the permissions of an existing team (and all of its members) or to create a new team for a single user.
- If you are modifying an existing Team,
- click on the Team name,
- then click the gear icon at the top right,
- then change the Team's access to Admin and
- click Update.
- If you are creating a new Team,
- click the New Team button,
- give the Team an appropriate name,
- set its access to Admin and
- click Create Team.
Note that since June 2017, you can apply an Admin access right to a sub-team (instead of one giant unique team as before)
See "Nested teams add depth to your team structure":
Child teams inherit their parent's access permissions, so repository permissions and @mentioning
among nested teams work from top to bottom.
If your team structure is Employees > Engineering > Application Engineering > Identity
, granting Engineering
write access to a repository means Application Engineering
and Identity
also get that access.
So that is another way to assign a user admin right: make him/her part of a sub-sub team called "admins" within an organization.
Official GitHub Documentation: Nested Teams.