Skip to main content

Managing an individual's access to an organization repository

You can manage a person's access to a repository owned by your organization.

Who can use this feature

People with admin access to a repository can manage access to the repository.

About access to organization repositories

When you remove a collaborator from a repository in your organization, the collaborator loses read and write access to the repository. If the repository is private and the collaborator has forked the repository, then their fork is also deleted, but the collaborator will still retain any local clones of your repository.

警告:

  • 如果您删除某人访问私有仓库的权限,则其对该私有仓库的任何复刻也会被删除。 将保留私人仓库的本地克隆。 如果撤销团队对专用存储库的访问权限,或者删除对专用存储库具有访问权限的团队,并且团队成员无法通过另一个团队访问存储库,则该存储库的专用分支将被删除。

  • 您负责确保无法访问仓库的人员删除任何机密信息或知识产权。

  • 对专用或内部存储库拥有管理员权限的人可以禁止分叉该存储库,组织所有者可以禁止分叉组织中任何专用或内部存储库。 有关详细信息,请参阅“管理组织的分叉策略”和“管理存储库的分叉策略”。

Managing an individual's access to an organization repository

You can give a person access to a repository or change a person's level of access to a repository in your repository settings. For more information, see "Managing teams and people with access to your repository."

Further reading