我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

Managing teams and people with access to your repository

You can see everyone who has access to your repository and adjust permissions.

Repository administrators can manage teams and people with access to a repository.

本文内容

About managing access to your repository

For each repository that you administer on GitHub, you can see an overview of every team or person with access to the repository. From the overview, you can also invite new teams or people, change each team or person's permissions, or remove access to the repository.

This overview can help you audit access to your repository, onboard or off-board contractors or employees, and effectively respond to security incidents.

For more information about repository permission levels, see "Permission levels for a user account repository" and "Repository permission levels for an organization."

Access management overview

Filtering the list of teams and people

  1. 在 GitHub 上,导航到仓库的主页面。
  2. 在仓库名称下,单击 Settings(设置)
    仓库设置按钮
  3. 在左边栏中,单击 Manage access(管理访问)
    "Manage access(管理访问)"选项卡
  4. Under "Manage access", in the search field, start typing the name of the team or person you'd like to find.
    Search field for filtering list of teams or people with access

Changing permissions for a team or person

  1. 在 GitHub 上,导航到仓库的主页面。
  2. 在仓库名称下,单击 Settings(设置)
    仓库设置按钮
  3. 在左边栏中,单击 Manage access(管理访问)
    "Manage access(管理访问)"选项卡
  4. Under "Manage access", find the team or person whose permissions you'd like to change, then use the Role drop-down to select new permissions.
    Using the "Role" drop-down to select new permissions for a team or person

Inviting a team or person

  1. 在 GitHub 上,导航到仓库的主页面。
  2. 在仓库名称下,单击 Settings(设置)
    仓库设置按钮
  3. 在左边栏中,单击 Manage access(管理访问)
    "Manage access(管理访问)"选项卡
  4. 在“Manage access(管理访问)”的右侧,单击 Invite teams or people(邀请团队或人员)
    "Invite teams or people(邀请团队或人员)"按钮
  5. In the search field, start typing the name of the team or person to invite, then click a name in the list of matches.
    Search field for typing the name of a team or person to invite to the repository
  6. Under "Choose a role", select the permissions to grant to the team or person, then click Add NAME to REPOSITORY.
    Selecting permissions for the team or person

Removing access for a team or person

  1. 在 GitHub 上,导航到仓库的主页面。
  2. 在仓库名称下,单击 Settings(设置)
    仓库设置按钮
  3. 在左边栏中,单击 Manage access(管理访问)
    "Manage access(管理访问)"选项卡
  4. Under "Manage access", find the team or person whose access you'd like to remove, then click .
    Trashcan icon for removing access

延伸阅读

问问别人

找不到要找的内容?

联系我们