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

后端 未结 3 698
借酒劲吻你
借酒劲吻你 2020-12-09 12:23

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 organiza

3条回答
  •  庸人自扰
    2020-12-09 12:51

    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.

提交回复
热议问题