关于对组织仓库的访问
从组织中的仓库� 除协作者时,该协作者会失去对仓库的读写权限。 如果仓库是私有的,并且协作者对仓库进行了复刻,则其复刻也会被检测到,但协作者仍然保留仓库的任何本地克隆副本。
Warning:
-
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.
-
You are responsible for ensuring that people who have lost access to a repository delete any confidential information or intellectual property.
-
People with admin permissions to a private or internal repository can disallow forking of that repository, and organization owners can disallow forking of any private or internal repository in an organization. For more information, see "Managing the forking policy for your organization" and "Managing the forking policy for your repository."
授予用户对仓库的访问权限
- 在 your GitHub Enterprise Server instance 上,导航到仓库的主页面。
- 在仓库名称下,单击 Settings(设置)。
- 在左边� �中,单击 Manage access(管理访问)。
- To the right of "Manage access", click Add people or Add teams.
- 在搜索字段中,开始输入要邀请的人员的名称,然后单击匹配列表中的名称。
- 在“Choose a role(选择角色)”下,选择要授予此人的仓库角色,然后单击 Add NAME to REPOSITORY(将姓名添� 到仓库)。
管理个人对组织仓库的访问
- In the top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.
- 单击您的组织名称。
- 在组织名称下,单击 People.
- 单击 Members(成员)或 Outside collaborators(外部协作者)以管理具有不同访问权限的人员。
- 在您要管理的人员名称右侧,使用 下拉菜单,并单击 Manage(管理)。
- 在 "Manage access"(管理访问权限)页面上的仓库旁边,单击 Manage access(管理访问权限)。
- 检查个人对指定仓库的访问权限,例如他们是协作者还是通过团队成员资� �来访问仓库。
延伸阅读
- "组织的仓库角色"