Enterprise owners can assign custom and predefined enterprise roles to users and teams. Some roles can be assigned to enterprise teams, whereas other roles are only available for individual users. Find the section below for the role you want to assign.
For more information about using roles effectively, see Identifying the roles required by your enterprise.
Assigning app managers, security managers, and custom roles
注意
These roles are in public preview and subject to change.
These roles can be assigned to existing users and teams in your enterprise settings, including 托管用户帐户.
Before you assign a role, you may need to create a team. Teams are the best way to manage role assignments at scale. The enterprise security manager role can only be assigned to a team, not to individual users. See 创建企业团队.
- 在 GitHub 的右上角,单击你的个人资料图片。
- 根据环境,单击“你的企业”,或单击“你的企业”,然后单击要查看的企业********。
- 在页面顶部,单击 “People”
- In the left sidebar, click Enterprise roles, then click Role assignments.
- Click Assign role.
- Choose the user or team and the role they should receive, then click Assign role.
Assigning enterprise owners, billing managers, and guest collaborators
These predefined roles are chosen when you invite a user to your enterprise or provision a 托管用户帐户 from your identity provider (IdP).
These roles cannot currently be assigned to enterprise teams, but they can be changed for existing users.
Assigning these roles to new users
- If you use Enterprise Managed Users, roles are assigned from your IdP via the SCIM
rolesattribute. - If you use an enterprise with personal accounts, you can invite someone as a user or administrator. See 直接邀请用户加入企业 or 邀请人员管理企业.
Assigning these roles to existing administrators
You can change an administrator's role or convert them to a regular member once they have joined your enterprise.
- If you use Enterprise Managed Users, you must do this from your IdP via the SCIM
rolesattribute. - If you use an enterprise with personal accounts, you can change the role on your enterprise's "Administrators" page, using the menu next to the user's name. See 查看企业中的人员.
Assigning roles in an organization
Enterprise owners cannot assign organization-level roles from the enterprise settings. An organization administrator must do this. See 使用组织角色.