Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Access permissions on GitHub

With roles, you can control who has access to your accounts and resources on GitHub Enterprise Server and the level of access each person has.

About access permissions on GitHub

若要对 GitHub 执行任何操作,例如在存储库中创建拉取请求或更改组织的计费设置,用户必须具有对相关帐户或资源的足够访问权限。 此访问由权限控制。 权限是执行特定操作的能力。 例如,� 除问题的能力是一种权限。 角色是� 可以分配给个人或团队的一组权限。

Roles work differently for different types of accounts. For more information about accounts, see "Types of GitHub accounts."

Personal accounts

A repository owned by a personal account has two permission levels: the repository owner and collaborators. For more information, see "Permission levels for a personal account repository."

Organization accounts

Organization members can have owner or member roles. Owners have complete administrative access to your organization. Member is the default role for everyone else. You can manage access permissions for multiple members at a time with teams. For more information, see:

Enterprise accounts

Enterprise owners have ultimate power over the enterprise account and can take every action in the enterprise account. Billing managers can manage your enterprise account's billing settings. Members and outside collaborators of organizations owned by your enterprise account are automatically members of the enterprise account, although they have no access to the enterprise account itself or its settings. For more information, see "Roles in an enterprise."

Further reading