Skip to content

Commit

Permalink
Version content about restricting repository creation (github#25094)
Browse files Browse the repository at this point in the history
  • Loading branch information
lecoursen committed Feb 8, 2022
1 parent 81b351e commit 1b48dd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ topics:
shortTitle: Restrict repository creation
---

You can choose whether members can create repositories in your organization. If you allow members to create repositories, you can choose which types of repositories members can create.{% ifversion fpt or ghec %} To allow members to create private repositories only, your organization must use {% data variables.product.prodname_ghe_cloud %}.{% endif %}{% ifversion fpt %} For more information, see "[About repositories](/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories)" in the {% data variables.product.prodname_ghe_cloud %} documentation{% endif %}.
You can choose whether members can create repositories in your organization. {% ifversion ghec or ghes or ghae %}If you allow members to create repositories, you can choose which types of repositories members can create.{% elsif fpt %}If you allow members to create repositories, you can choose whether members can create both public and private repositories or public repositories only.{% endif %} Organization owners can always create any type of repository.

{% ifversion fpt %}
Organizations using {% data variables.product.prodname_ghe_cloud %} can also restrict members to creating private repositories only. For more information, see [the {% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest/organizations/managing-organization-settings/restricting-repository-creation-in-your-organization).
{% endif %}

Organization owners can always create any type of repository.
{% ifversion ghec or ghae or ghes %}
{% ifversion ghec or ghae %}Enterprise owners{% elsif ghes %}Site administrators{% endif %} can restrict the options you have available for your organization's repository creation policy.{% ifversion ghec or ghes or ghae %} For more information, see "[Restricting repository creation in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)."{% endif %}{% endif %}
Enterprise owners can restrict the options you have available for your organization's repository creation policy. 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)."
{% endif %}

{% warning %}

Expand All @@ -36,5 +40,12 @@ Organization owners can always create any type of repository.
![Repository creation options](/assets/images/help/organizations/repo-creation-perms-radio-buttons.png)
{%- elsif fpt %}
![Repository creation options](/assets/images/help/organizations/repo-creation-perms-radio-buttons-fpt.png)

{% note %}

**Note:** To restrict members to creating private repositories only, your organization must use {% data variables.product.prodname_ghe_cloud %}.

{% endnote %}
{%- endif %}

6. Click **Save**.

0 comments on commit 1b48dd4

Please sign in to comment.