关于存储库的访问管理
对于您在 GitHub 上管理的每个仓库,您可以查看有权访问仓库的每个团队或人员的概览。 在概述中,您还可以邀请新的团队或人员,更改存储库的每个团队或人员的角色,或删除对存储库的访问权限。
此概览可帮助您审核对仓库、内部或外部承包商或员工的访问权限,并有效响应安全事件。
If a person has been given conflicting access, you'll see a warning on the repository access page. The warning appears with " Mixed roles" next to the person with the conflicting access. To see the source of the conflicting access, hover over the warning icon or click Mixed roles.
有关存储库角色的详细信息,请参阅“个人帐户存储库的权限级别”和“组织的存储库角色”。
过滤团队和人员列表
-
在 GitHub.com 上,导航到仓库的主页面。
-
在仓库名称下,单击 Settings(设置)。
-
In the "Access" section of the sidebar, click Collaborators & teams.
-
在“Manage access(管理访问权限)”下的搜索字段中,开始输入您要查找的团队或人员的名称。 (可选)使用下拉菜单筛选搜索。
更改团队或人员的权限
-
在 GitHub.com 上,导航到仓库的主页面。
-
在仓库名称下,单击 Settings(设置)。
-
In the "Access" section of the sidebar, click Collaborators & teams.
-
在“Manage access(管理访问)”下,找到您要更改其角色的团队或人员,然后选择 Role(角色)下拉菜单并点击新角色。
邀请团队或人员
-
在 GitHub.com 上,导航到仓库的主页面。
-
在仓库名称下,单击 Settings(设置)。
-
In the "Access" section of the sidebar, click Collaborators & teams.
-
在“Manage access(管理访问权限)”右侧,单击 Add people(添加人员)或 Add teams(添加团队)。
-
在搜索字段中,开始输入要邀请的团队或人员的名称,然后单击匹配列表中的名称。
-
在“Choose a role(选择角色)”下,选择要授予该团队或人员的仓库角色,然后单击 Add NAME to REPOSITORY(将名称添加到仓库)。
删除团队或人员的访问权限
-
在 GitHub.com 上,导航到仓库的主页面。
-
在仓库名称下,单击 Settings(设置)。
-
In the "Access" section of the sidebar, click Collaborators & teams.
-
在“Manage access(管理访问权限)”下,找到要删除其访问权限的团队或人员,然后单击 。