Skip to content

Commit b80b4c4

Browse files
authored
Merge pull request #40709 from github/repo-sync
Repo sync
2 parents ee2fb04 + 140a3f7 commit b80b4c4

File tree

16 files changed

+213
-59
lines changed

16 files changed

+213
-59
lines changed

content/admin/guides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ includeGuides:
119119
- /admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/managing-projects-using-jira
120120
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise
121121
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/managing-support-entitlements-for-your-enterprise
122-
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/roles-in-an-enterprise
122+
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/abilities-of-roles
123123
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/viewing-and-managing-a-users-saml-access-to-your-enterprise
124124
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/viewing-people-in-your-enterprise
125125
- /admin/user-management/managing-repositories-in-your-enterprise/migrating-to-internal-repositories

content/admin/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ featuredLinks:
7373
startHere:
7474
- '{% ifversion ghec %}/admin/managing-iam/understanding-iam-for-enterprises/choosing-an-enterprise-type-for-github-enterprise-cloud{% endif %}'
7575
- /admin/managing-iam/understanding-iam-for-enterprises/about-identity-and-access-management
76-
- '{% ifversion ghec %}/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/roles-in-an-enterprise{% endif %}'
76+
- '{% ifversion ghec %}/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/abilities-of-roles{% endif %}'
7777
- /admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/best-practices-for-structuring-organizations-in-your-enterprise
7878
- '{% ifversion ghes %}/admin/getting-started-with-enterprise/about-upgrades-to-new-releases{% endif %}'
7979
- '{% ifversion ghes %}/billing/how-tos/set-up-payment/manage-enterprise-invoice{% endif %}'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Creating custom organization roles in an enterprise
3+
intro: Create roles with fine-grained permissions for a consistent experience across your organizations.
4+
versions:
5+
feature: ent-owner-custom-org-roles
6+
type: how_to
7+
topics:
8+
- Enterprise
9+
- Organizations
10+
shortTitle: Custom organization roles
11+
---
12+
13+
To define consistent sets of permissions for settings and repositories, you can create custom organization roles for use in all of the enterprise's organizations. This allows centralized management of common roles such as "Developer" or "SRE team."
14+
15+
Custom organization roles created at the enterprise level use the same organization and repository permissions and base roles as roles created at the organization level. There is no difference in how these roles function or what they can allow. For more information, see [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles).
16+
17+
Enterprise owners can create and edit custom organization roles, but cannot assign them. Organization owners can assign custom roles in an organization.
18+
19+
>[!NOTE] 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.
20+
21+
{% data reusables.enterprise-accounts.access-enterprise %}
22+
{% data reusables.enterprise-accounts.people-tab %}
23+
1. In the left sidebar, select **Organization roles**.
24+
1. Click **Create custom role**.
25+
1. Enter the details, then click **Create role**.

content/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ children:
2525
- /configuring-visibility-for-organization-membership
2626
- /preventing-users-from-creating-organizations
2727
- /requiring-two-factor-authentication-for-an-organization
28+
- /custom-organization-roles
2829
- /managing-your-role-in-an-organization-owned-by-your-enterprise
2930
- /managing-requests-for-copilot-business-from-organizations-in-your-enterprise
3031
- /removing-organizations-from-your-enterprise
Lines changed: 10 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
---
2-
title: Roles in an enterprise
3-
intro: "Learn which roles you can assign to control access to your enterprise's settings and data."
2+
title: Abilities of roles in an enterprise
3+
intro: Learn which roles you can assign to control access to your enterprise's settings and data.
4+
shortTitle: Capabilities of roles
45
redirect_from:
56
- /github/setting-up-and-managing-your-enterprise/managing-users-in-your-enterprise/roles-in-an-enterprise
67
- /github/setting-up-and-managing-your-enterprise-account/roles-for-an-enterprise-account
78
- /articles/permission-levels-for-a-business-account
89
- /articles/roles-for-an-enterprise-account
910
- /github/setting-up-and-managing-your-enterprise/roles-in-an-enterprise
1011
- /admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise
12+
- /admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/roles-in-an-enterprise
1113
versions:
1214
ghec: '*'
1315
ghes: '*'
1416
topics:
1517
- Enterprise
18+
allowTitleToDifferFromFilename: true
19+
contentType: reference
1620
---
1721

1822
## About roles in an enterprise
@@ -35,33 +39,6 @@ All users that are part of your enterprise have one of the following roles.
3539

3640
People with collaborator access to repositories are listed in your enterprise's "People" tab, but are not enterprise members and do not have access to the enterprise. See {% ifversion ghec %}[AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators-or-repository-collaborators).{% else %}[AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators).{% endif %}
3741

38-
## How do I assign roles?
39-
40-
{% ifversion ghec %}
41-
If you use an **enterprise with personal accounts**:
42-
43-
* People become enterprise members when they are added as a member or owner of an organization. See [AUTOTITLE](/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization).
44-
* You can invite someone to become an enterprise owner or billing manager. See [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise).
45-
46-
If you use an **{% data variables.enterprise.prodname_emu_enterprise %}**:
47-
48-
* You must provision all users through your identity provider (IdP).
49-
* You select each user's enterprise role using your IdP. The role cannot be changed on {% data variables.product.prodname_dotcom %}.
50-
* To assign the guest collaborator role, you may need to update your IdP.
51-
52-
For more information about the different types of enterprise accounts, see [AUTOTITLE](/admin/identity-and-access-management/understanding-iam-for-enterprises/choosing-an-enterprise-type-for-github-enterprise-cloud#about-types-of-enterprises).
53-
54-
{% elsif ghes %}
55-
56-
When a user has joined your {% data variables.product.prodname_ghe_server %} instance, you can:
57-
58-
* Add the user to an organization. See [AUTOTITLE](/organizations/managing-membership-in-your-organization/adding-people-to-your-organization).
59-
* Invite the user to become an enterprise owner. See [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise).
60-
61-
If you provision users with SCIM, you assign each user's enterprise role on your identity provider (IdP). The role cannot be changed on {% data variables.product.prodname_dotcom %}.
62-
63-
{% endif %}
64-
6542
## Enterprise owners
6643

6744
Enterprise owners have complete control over the enterprise and can take every action, including:
@@ -70,8 +47,8 @@ Enterprise owners have complete control over the enterprise and can take every a
7047
* {% ifversion ghec %}Adding and removing {% elsif ghes %}Managing{% endif %} organizations{% ifversion remove-enterprise-members %}
7148
* Removing enterprise members from all organizations{% endif %}
7249
* Managing enterprise settings
73-
* Enforcing policy across organizations
74-
{% ifversion ghec %}- Managing billing settings{% endif %}
50+
* Enforcing policy across organizations{% ifversion ghec %}
51+
* Managing billing settings{% endif %}
7552

7653
For security, we recommend making **only a few people** enterprise owners.
7754

@@ -128,17 +105,6 @@ You can add unaffiliated users from your identity provider (for {% data variable
128105

129106
{% endif %}
130107

131-
## Custom organization roles
132-
133-
With {% data variables.product.prodname_ghe_cloud %} and starting from {% data variables.product.prodname_ghe_server %} 3.19, enterprise owners can create custom organization roles for use in all of the enterprise's organizations. This allows centralized management of common roles such as "Developer" or "SRE team". Only enterprise owners can create or edit these roles, and any organization owner or user with the "Manage organization roles" permission can assign them in an organization.
134-
135-
When creating an organization role, enterprise owners can use the same organization and repository permissions and base roles as organization owners—there is no difference in how these roles function or what they can allow.
136-
137-
{% data reusables.enterprise-accounts.access-enterprise %}
138-
{% data reusables.enterprise-accounts.people-tab %}
139-
1. Select the "Organization Roles" section in the left-hand menu.
140-
1. Create a new role using the "Create custom role" button, or edit an existing role using the ellipsis menu (...).
141-
142-
See [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles) for more information about creating and assigning custom organization roles.
108+
## Next steps
143109

144-
At this time, up to 20 custom organization roles can be created by the enterprise. This limit is only for the enterprise - each organization can also create up to 20 custom organization roles.
110+
When you have decided which roles your users require, assign the roles to them. See [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/assign-roles).
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Assigning roles to users in an enterprise
3+
intro: Assign roles to govern what people can do in your enterprise.
4+
versions:
5+
ghec: '*'
6+
ghes: '*'
7+
type: how_to
8+
shortTitle: Assign roles
9+
---
10+
11+
Users in an enterprise have roles for the enterprise and for organizations where they have access. For more information, see [AUTOTITLE](/admin/overview/about-roles).
12+
13+
## Assigning enterprise roles
14+
15+
{% ifversion ghec %}
16+
If you use an **enterprise with personal accounts**:
17+
18+
* People become enterprise members when they are added as a member or owner of an organization. See [AUTOTITLE](/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization).
19+
* You can invite someone to become an enterprise owner or billing manager. See [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise).
20+
* You can add people as unaffiliated users without adding them to the enterprise. See [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/invite-users-directly).
21+
22+
If you use an **{% data variables.enterprise.prodname_emu_enterprise %}**:
23+
24+
* You must provision all users through your identity provider (IdP).
25+
* You select each user's enterprise role using your IdP. The role cannot be changed on {% data variables.product.prodname_dotcom %}.
26+
* To assign the guest collaborator role, you may need to update your IdP.
27+
28+
{% elsif ghes %}
29+
30+
When a user has joined your {% data variables.product.prodname_ghe_server %} instance, you can:
31+
32+
* Add the user to an organization. See [AUTOTITLE](/organizations/managing-membership-in-your-organization/adding-people-to-your-organization).
33+
* Invite the user to become an enterprise owner. See [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise).
34+
35+
If you provision users with SCIM, you assign each user's enterprise role on your identity provider (IdP). The role cannot be changed on {% data variables.product.prodname_dotcom %}.
36+
37+
{% endif %}
38+
39+
## Assigning organization roles
40+
41+
Organization administrators can assign roles to users and teams in their organization. See [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/using-organization-roles#assigning-an-organization-role).

content/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ versions:
1717
topics:
1818
- Enterprise
1919
children:
20-
- /roles-in-an-enterprise
20+
- /abilities-of-roles
2121
- /best-practices-for-user-security
2222
- /create-enterprise-teams
2323
- /invite-users-directly
24+
- /assign-roles
2425
- /inviting-people-to-manage-your-enterprise
2526
- /managing-invitations-to-organizations-within-your-enterprise
2627
- /managing-organization-members-in-your-enterprise
@@ -42,3 +43,4 @@ children:
4243
- /enabling-guest-collaborators
4344
shortTitle: Manage users
4445
---
46+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: About roles in an enterprise
3+
intro: 'Learn how roles allow you to control people''s access to your enterprise''s settings and resources.'
4+
versions:
5+
ghec: '*'
6+
ghes: '*'
7+
shortTitle: About roles
8+
type: overview
9+
topics:
10+
- Enterprise
11+
- Fundamentals
12+
---
13+
14+
## What are roles?
15+
16+
A role is a set of permissions that you can assign to individuals or teams. A permission is the ability to perform a specific action, such as changing billing settings.
17+
18+
A user in an enterprise has a role for both the enterprise account itself and for each individual organization in the enterprise.
19+
20+
* The enterprise-level role defines the user's access to enterprise settings, and to internal repositories across the enterprise.
21+
* Organization-level roles define the user's access to organization settings and repositories in that organization.
22+
23+
## Predefined and custom roles for organizations
24+
25+
Organization roles can be **predefined** or **custom**.
26+
27+
* Predefined roles, such as organization owner or billing manager, grant blanket permissions to users or teams. They may contain more permissions than someone needs to do their job.
28+
* Custom roles include fine-grained permissions for organization settings and repository access. They allow you to follow the principle of least privilege by giving teams just the access they need to do their jobs. For example, you could allow a team to view your audit logs without allowing them to change policies.
29+
30+
We recommend using custom roles wherever possible. However, if a predefined role meets your needs, this is the quickest way to grant permissions.
31+
32+
## Who can assign roles?
33+
34+
Enterprise roles are assigned when a user is invited to the enterprise (personal accounts) or provisioned from an identity provider.{% ifversion ent-owner-custom-org-roles %} Enterprise owners can also create custom organization roles to be used across organizations, but these roles can only be assigned by organization administrators.{% endif %}
35+
36+
Organization administrators can grant organization roles and create custom organization roles, but can't affect roles at the enterprise level.
37+
38+
## Next steps
39+
40+
Review the predefined roles and fine-grained permissions available with custom organization roles, and plan out what roles will be required for your teams to do their jobs on {% data variables.product.github %}.
41+
42+
* [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/abilities-of-roles)
43+
* [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#about-organization-roles)
44+
* [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles#permissions-for-organization-access)
45+
46+
To ensure continued access, we recommend giving the enterprise owner role to at least two people, and the organization owner role to at least two people per organization. However, you should grant most teams only the minimum level of access they require.

content/admin/overview/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ children:
2020
- /establishing-a-governance-framework-for-your-enterprise
2121
- /accessing-compliance-reports-for-your-enterprise
2222
- /about-teams
23+
- /about-roles
2324
---
2425

2526
For more information, or to purchase {% data variables.product.prodname_enterprise %}, see [{% data variables.product.prodname_enterprise %}](https://github.com/enterprise).

0 commit comments

Comments
 (0)