Skip to content

Commit a8a9294

Browse files
authored
Merge branch 'main' into noviicee
2 parents 15a3742 + 44baac5 commit a8a9294

File tree

7 files changed

+43
-35
lines changed

7 files changed

+43
-35
lines changed
Loading
Loading

content/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ You can grant {% data variables.product.prodname_managed_users %} access to and
3636

3737
The usernames of your enterprise's {% data variables.product.prodname_managed_users %} and their profile information, such as display names and email addresses, are set by through your IdP and cannot be changed by the users themselves. For more information, see "[Usernames and profile information](#usernames-and-profile-information)."
3838

39-
{% data reusables.enterprise-accounts.emu-forks %}
40-
4139
Enterprise owners can audit all of the {% data variables.product.prodname_managed_users %}' actions on {% data variables.product.prodname_dotcom %}. For more information, see "[Audit log events for your enterprise](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise#about-audit-log-events-for-your-enterprise)."
4240

4341
To use {% data variables.product.prodname_emus %}, you need a separate type of enterprise account with {% data variables.product.prodname_emus %} enabled. For more information about creating this account, see "[About enterprises with managed users](#about-enterprises-with-managed-users)."
@@ -75,7 +73,8 @@ To use {% data variables.product.prodname_emus %}, you need a separate type of e
7573
* {% data variables.product.prodname_managed_users_caps %} cannot create gists or comment on gists.
7674
* {% data variables.product.prodname_managed_users_caps %} cannot install {% data variables.product.prodname_github_apps %} on their user accounts.
7775
* Other {% data variables.product.prodname_dotcom %} users cannot see, mention, or invite a {% data variables.product.prodname_managed_user %} to collaborate.
78-
* {% data variables.product.prodname_managed_users_caps %} can only own private repositories and {% data variables.product.prodname_managed_users %} can only invite other enterprise members to collaborate on their owned repositories.
76+
* You can choose whether {% data variables.product.prodname_managed_users %} are able to create repositories owned by their user accounts. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-repository-creation)."
77+
* If you allow {% data variables.product.prodname_managed_users %} to create repositories owned by their user accounts, they can only own private repositories and can only invite other enterprise members to collaborate on their user-owned repositories.
7978
* {% data reusables.enterprise-accounts.emu-forks %}
8079
* Only private and internal repositories can be created in organizations owned by an {% data variables.product.prodname_emu_enterprise %}, depending on organization and enterprise repository visibility settings.
8180
* {% data variables.product.prodname_managed_users_caps %} are limited in their use of {% data variables.product.prodname_pages %}. For more information, see "[About {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#limitations-for-enterprise-managed-users)."

content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise.md

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -72,58 +72,63 @@ If an enterprise owner disallows members from creating certain types of reposito
7272

7373
{% endif %}
7474

75-
## Enforcing a policy for {% ifversion ghec or ghes or ghae %}base{% else %}default{% endif %} repository permissions
75+
## Enforcing a policy for base repository permissions
7676

77-
Across all organizations owned by your enterprise, you can set a {% ifversion ghec or ghes or ghae %}base{% else %}default{% endif %} repository permission level (none, read, write, or admin) for organization members, or allow owners to administer the setting on the organization level.
77+
Across all organizations owned by your enterprise, you can set a base repository permission level (none, read, write, or admin) for organization members, or allow owners to administer the setting on the organization level.
7878

7979
{% data reusables.enterprise-accounts.access-enterprise %}
8080
{% data reusables.enterprise-accounts.policies-tab %}
8181
{% data reusables.enterprise-accounts.repositories-tab %}
82-
4. Under "{% ifversion ghec or ghes or ghae %}Base{% else %}Default{% endif %} permissions", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
83-
5. Under "{% ifversion ghec or ghes or ghae %}Base{% else %}Default{% endif %} permissions", use the drop-down menu and choose a policy.
84-
{% ifversion ghec or ghes or ghae %}
82+
4. Under "Base permissions", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
83+
5. Under "Base permissions", use the drop-down menu and choose a policy.
8584
![Drop-down menu with repository permissions policy options](/assets/images/help/business-accounts/repository-permissions-policy-drop-down.png)
86-
{% else %}
87-
![Drop-down menu with repository permissions policy options](/assets/images/enterprise/business-accounts/repository-permissions-policy-drop-down.png)
88-
{% endif %}
85+
8986

9087
## Enforcing a policy for repository creation
9188

92-
Across all organizations owned by your enterprise, you can allow members to create repositories, restrict repository creation to organization owners, or allow owners to administer the setting on the organization level. If you allow members to create repositories, you can choose whether members can create any combination of public, private, and internal repositories. {% data reusables.repositories.internal-repo-default %} For more information about internal repositories, see "[Creating an internal repository](/articles/creating-an-internal-repository)."
89+
Across all organizations owned by your enterprise, you can allow members to create repositories, restrict repository creation to organization owners, or allow owners to administer the setting on the organization level.
90+
91+
If you allow members to create repositories in your organizations, you can choose which types of repositories (public, private, and internal) that members can create.
92+
93+
{% ifversion enterprise-namespace-repo-setting %}
94+
{% ifversion ghec %}If your enterprise uses {% data variables.product.prodname_emus %}, you{% else %}You{% endif %} can also prevent users from creating repositories owned by their user accounts.
95+
{% endif %}
96+
97+
{% data reusables.repositories.internal-repo-default %} For more information about internal repositories, see "[Creating an internal repository](/articles/creating-an-internal-repository)."
9398

9499
{% data reusables.organizations.repo-creation-constants %}
95100

96101
{% data reusables.enterprise-accounts.access-enterprise %}
97102
{% data reusables.enterprise-accounts.policies-tab %}
98103
{% data reusables.enterprise-accounts.repositories-tab %}
99104
5. Under "Repository creation", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
100-
{% ifversion ghes or ghae or ghec %}
101105
{% data reusables.enterprise-accounts.repo-creation-policy %}
102-
{% data reusables.enterprise-accounts.repo-creation-types %}
103-
{% else %}
104-
6. Under "Repository creation", use the drop-down menu and choose a policy.
105-
106-
![Drop-down menu with repository creation policies](/assets/images/enterprise/site-admin-settings/repository-creation-drop-down.png)
107-
{% endif %}
106+
{% data reusables.enterprise-accounts.repo-creation-types %}{% ifversion enterprise-namespace-repo-setting %}
107+
1. Optionally, {% ifversion ghec %}if your enterprise uses {% data variables.product.prodname_emus %} and you want {% endif %}to prevent enterprise members from creating repositories owned by their user accounts, select **Block the creation of user namespace repositories**.
108+
![Screenshot showing the list of disabled options from forking policy](/assets/images/help/business-accounts/restrict-personal-namespace-enabled-setting.png){% endif %}
108109

109110
## Enforcing a policy for forking private or internal repositories
110111

111112
Across all organizations owned by your enterprise, you can allow people with access to a private or internal repository to fork the repository, never allow forking of private or internal repositories, or allow owners to administer the setting on the organization level.
112113

114+
{% ifversion enterprise-namespace-repo-setting %}
115+
{% note %}
116+
117+
**Note:** If {% ifversion ghec %}your enterprise uses {% data variables.product.prodname_emus %} and {% endif %}your "Repository creation" policy prevents enterprise members from creating repositories owned by their user accounts, members will not be allowed to fork a repository in their user accounts, regardless of your "Repository forking" policy.
118+
119+
{% endnote %}
120+
{% endif %}
121+
113122
{% data reusables.enterprise-accounts.access-enterprise %}
114123
{% data reusables.enterprise-accounts.policies-tab %}
115124
{% data reusables.enterprise-accounts.repositories-tab %}
116125
3. Under "Repository forking", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
117126
4. Under "Repository forking", use the drop-down menu and choose a policy.
118127

119-
![Drop-down menu with repository forking policy options](/assets/images/help/business-accounts/repository-forking-policy-drop-down.png)
120-
121-
{% ifversion innersource-fork-policies %}
128+
![Drop-down menu with repository forking policy options](/assets/images/help/business-accounts/repository-forking-policy-drop-down.png){% ifversion innersource-fork-policies %}
122129
5. If forking is enabled, you can specify where users are allowed to fork repositories. Review the information about changing the setting and choose a policy.
123130

124-
![Screenshot showing the list of repository forking policy options](/assets/images/help/business-accounts/repository-forking-policy-settings.png)
125-
{% endif %}
126-
131+
![Screenshot showing the list of repository forking policy options](/assets/images/help/business-accounts/repository-forking-policy-settings.png){% endif %}
127132

128133
## Enforcing a policy for inviting{% ifversion ghec %} outside{% endif %} collaborators to repositories
129134

@@ -140,8 +145,6 @@ Across all organizations owned by your enterprise, you can allow members to invi
140145
{% elsif ghes or ghae %}
141146
![Drop-down menu with invitation policy options](/assets/images/enterprise/business-accounts/repository-invitation-policy-drop-down.png)
142147
{% endif %}
143-
144-
{% ifversion ghec or ghes or ghae %}
145148

146149
## Enforcing a policy for the default branch name
147150

@@ -156,8 +159,6 @@ Across all organizations owned by your enterprise, you can set the default branc
156159
5. Click **Update**.
157160
![Update button](/assets/images/help/business-accounts/default-branch-name-update.png)
158161

159-
{% endif %}
160-
161162
## Enforcing a policy for changes to repository visibility
162163

163164
Across all organizations owned by your enterprise, you can allow members with admin access to change a repository's visibility, restrict repository visibility changes to organization owners, or allow owners to administer the setting on the organization level. When you prevent members from changing repository visibility, only enterprise owners can change the visibility of a repository.
@@ -167,9 +168,9 @@ If an enterprise owner has restricted repository creation to organization owners
167168
{% data reusables.enterprise-accounts.access-enterprise %}
168169
{% data reusables.enterprise-accounts.policies-tab %}
169170
{% data reusables.enterprise-accounts.repositories-tab %}
170-
5. Under "Repository visibility change", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
171-
172-
{% data reusables.enterprise-accounts.repository-visibility-policy %}
171+
1. Under "Repository visibility change", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
172+
1. Under "Repository visibility change", use the drop-down menu and choose a policy.
173+
![Drop-down menu with repository visibility policy options](/assets/images/help/business-accounts/repository-visibility-policy-drop-down.png)
173174

174175
## Enforcing a policy for repository deletion and transfer
175176

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reference: #7757
2+
# Setting to disable personal namespace repo creation for EMUs, GHES 3.7+ and GHAE 3.7+ users
3+
versions:
4+
ghec: '*'
5+
ghes: '>=3.7'
6+
ghae: 'issue-7757'
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
1. Under "Repository creation", select a policy.
2-
![Drop-down menu with repository creation policy options](/assets/images/help/business-accounts/repository-creation-policy-drop-down.png)
2+
{% ifversion enterprise-namespace-repo-setting %}
3+
![Drop-down menu with repository creation policy options](/assets/images/help/business-accounts/restrict-personal-namespace-setting.png)
4+
{% else %}
5+
![Drop-down menu with repository creation policy options](/assets/images/help/business-accounts/repository-creation-policy-drop-down.png)
6+
{% endif %}

data/reusables/enterprise-accounts/repository-visibility-policy.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)