管理个人对组织仓库的访问
您可以管理个人对组织拥有的仓库的访问。
具有管理员权限的人员可以管理组织成员和外部协作者对组织仓库的访问。
本文内容
删除对仓库的访问权限
从组织中的仓库删除协作者时,该协作者会失去对仓库的读写权限。 如果仓库是私有的,并且协作者对仓库进行了复刻,则其复刻也会被检测到,但协作者仍然保留仓库的任何本地克隆副本。
警告:
-
If you remove a person’s access to a private repository, any of their forks of that private repository are deleted. Local clones of the private repository are retained. If a team's access to a private repository is revoked or a team with access to a private repository is deleted, and team members do not have access to the repository through another team, private forks of the repository will be deleted.
-
When LDAP Sync is enabled, if you remove a person from a repository, they will lose access but their forks will not be deleted. If the person is added to a team with access to the original organization repository within three months, their access to the forks will be automatically restored on the next sync.
-
您负责确保无法访问仓库的人员删除任何机密信息或知识产权。
-
Organization owners can disable the ability to fork a specific private repository or to fork any private repository in an organization. For more information, see "Allowing people to fork a private repository owned by your organization" and "Allowing people to fork private repositories in your organization."
管理个人对组织仓库的访问
-
在 GitHub Enterprise 的右上角,单击您的个人资料照片,然后单击 Your profile(您的个人资料)。
-
在个人资料页面的左侧,在“Organizations(组织)”下单击组织的图标。
-
在组织名称下,单击 People(人员)。
-
单击 Members(成员)或 Outside collaborators(外部协作者)以管理具有不同访问权限的人员。
-
在您要管理的人员名称右侧,使用 下拉菜单,并单击 Manage(管理)。
-
在 "Manage access"(管理访问权限)页面上的仓库旁边,单击 Manage access(管理访问权限)。
-
检查个人对指定仓库的访问权限,例如他们是协作者还是通过团队成员资格来访问仓库。