Skip to main content

在企业中创建自定义角色

创建具有精细权限的角色,以便对设置和资源进行一致的访问。

注意

The ability for enterprise owners to create custom roles for an organization or enterprise is in public preview and subject to change.

To tailor access management to your company's needs, you can create custom roles for your organizations.

Custom roles are sets of permissions for settings and resources that you can assign to users and teams.

Creating organization custom roles

Organization custom roles grant access to organization settings and repositories. Custom organization roles created at the enterprise level use the same permissions and base roles as roles created at the organization level. For more information, see About custom organization roles.

Enterprise owners can create and edit custom organization roles, but cannot assign them. Organization owners can assign custom roles in an organization.

注意

An enterprise can create up to 20 custom organization roles. This limit applies to the enterprise: each organization can also create up to 20 custom organization roles.

  1. In the top-right corner of GitHub Enterprise Server, click your profile picture, then click Enterprise settings.
  2. At the top of the page, click People.
  3. In the left sidebar, select Organization roles.
  4. Click Create custom role.
  5. Enter the details, then click Create role.