GitHub: how do I make a user an admin of an organization?

你离开我真会死。 提交于 2019-11-28 09:20:44

Access levels in GitHub are configured per Team inside the Organization.

  1. Log into GitHub.
  2. Switch your account context to the organization using the dropdown near the top-left of the screen.
  3. Click the Teams tab at the far right of the tab bar.
  4. 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,
      1. click on the Team name,
      2. then click the gear icon at the top right,
      3. then change the Team's access to Admin and
      4. click Update.
    • If you are creating a new Team,
      1. click the New Team button,
      2. give the Team an appropriate name,
      3. set its access to Admin and
      4. 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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!