Skip to main content

将所有者团队转换为改进的组织权限

如果您的组织是在 2015 年 9 月之后创建的,则您的组织默认具有改进的组织权限。 在 2015 年 9 月之前创建的组织可能需要将较旧的所有者和管理员团队迁移到改进的权限模型。 “所有者”现在是赋予组织中个别成员的管理角色。 旧所有者团队的成员自动获得所有者权限。

You have a few options to convert your legacy Owners team:

  • Give the team a new name that denotes the members have a special status in the organization.
  • Delete the team after ensuring all members have been added to teams that grant necessary access to the organization's repositories.

Give the Owners team a new name

注意

Because "admin" is a term for organization members with specific access to certain repositories in the organization, we recommend you avoid that term in any team name you decide on. For more information, see Repository roles for an organization.

  1. In the upper-right corner of GitHub, click your profile picture, then click Organizations.

  2. Click the name of your organization.

  3. Under your organization name, click Teams.

    Screenshot of the horizontal navigation bar for an organization. A tab, labeled with the people icon and "Teams," is outlined in dark orange.

  4. In the list of teams, click Owners.

  5. Under the description of the new owner role, click Okay, got it.

  6. In the team name field, choose a new name for the Owners team. For example:

    • If very few members of your organization were members of the Owners team, you might name the team "Core".
    • If all members of your organization were members of the Owners team so that they could @mention teams, you might name the team "Employees".
  7. Under the team description, click Save and continue.

  8. Optionally, make the team public. For more information, see Changing team visibility.

Delete the legacy Owners team

警告

If there are members of your Owners team who are not members of other teams, deleting the team will remove those members from the organization. Before deleting the team, ensure members are already direct members of the organization, or have collaborator access to necessary repositories.

  1. In the upper-right corner of GitHub, click your profile picture, then click Organizations.

  2. Click the name of your organization.

  3. Under your organization name, click Teams.

    Screenshot of the horizontal navigation bar for an organization. A tab, labeled with the people icon and "Teams," is outlined in dark orange.

  4. In the list of teams, click Owners.

  5. Under the description of the new owner role, click Okay, got it.

  6. At the bottom of the page, review the warning and click Delete the Owners team.