diff --git a/content/copilot/copilot-business/about-github-copilot-business.md b/content/copilot/copilot-business/about-github-copilot-business.md index 9035f0e962f9..1f6bce616ef8 100644 --- a/content/copilot/copilot-business/about-github-copilot-business.md +++ b/content/copilot/copilot-business/about-github-copilot-business.md @@ -1,7 +1,7 @@ --- title: About GitHub Copilot Business intro: 'With {% data variables.product.prodname_copilot_for_business %} you can manage access to {% data variables.product.prodname_copilot %} for your organization{% ifversion ghec%} or enterprise{% endif %}.' -product: '{% data reusables.gated-features.copilot-billing %}' +product: '{% data reusables.gated-features.copilot-business %}' redirect_from: - /copilot/overview-of-github-copilot/about-github-copilot-for-business - /copilot/overview-of-github-copilot/about-github-copilot-business diff --git a/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/about-copilot-pull-request-summaries.md b/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/about-copilot-pull-request-summaries.md index afc8f4f5ffda..fb77cfcc3f78 100644 --- a/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/about-copilot-pull-request-summaries.md +++ b/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/about-copilot-pull-request-summaries.md @@ -4,7 +4,7 @@ shortTitle: About PR summaries intro: 'With {% data variables.product.prodname_copilot_for_prs %}, you can create an AI-generated description for a pull request.' versions: feature: copilot -product: '{% data reusables.gated-features.copilot-enterprise %}' +permissions: 'Members of an enterprise with a subscription to [{% data variables.product.prodname_copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)' topics: - Copilot type: rai diff --git a/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/creating-a-pull-request-summary-with-github-copilot.md b/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/creating-a-pull-request-summary-with-github-copilot.md index 815c1a515816..3603890f4ab0 100644 --- a/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/creating-a-pull-request-summary-with-github-copilot.md +++ b/content/copilot/github-copilot-enterprise/copilot-pull-request-summaries/creating-a-pull-request-summary-with-github-copilot.md @@ -4,7 +4,7 @@ shortTitle: Create a PR summary intro: 'You can generate a summary in the description of a pull request, or as a comment.' versions: feature: copilot-pr-summaries -product: '{% data reusables.gated-features.copilot-enterprise %}' +permissions: 'Members of an enterprise with a subscription to [{% data variables.product.prodname_copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)' topics: - Copilot --- diff --git a/content/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise.md b/content/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise.md index 549b934c214b..56710363ba3a 100644 --- a/content/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise.md +++ b/content/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise.md @@ -2,7 +2,7 @@ title: About GitHub Copilot Enterprise shortTitle: About Copilot Enterprise intro: 'Learn about {% data variables.product.prodname_copilot_enterprise %} and how it compares to other {% data variables.product.prodname_copilot_short %} plans.' -product: '{% data reusables.gated-features.copilot-billing %}' +product: '{% data reusables.gated-features.copilot-enterprise %}' versions: feature: copilot topics: diff --git a/content/copilot/managing-github-copilot-in-your-organization/managing-policies-and-features-for-copilot-in-your-organization.md b/content/copilot/managing-github-copilot-in-your-organization/managing-policies-and-features-for-copilot-in-your-organization.md index 990ebab608ac..6003e5ca4575 100644 --- a/content/copilot/managing-github-copilot-in-your-organization/managing-policies-and-features-for-copilot-in-your-organization.md +++ b/content/copilot/managing-github-copilot-in-your-organization/managing-policies-and-features-for-copilot-in-your-organization.md @@ -1,7 +1,8 @@ --- title: Managing policies and features for Copilot in your organization -intro: 'Learn how to manage policies for {% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise_short %} and{% endif %} {% data variables.product.prodname_copilot_for_business %} in your organization.' -permissions: Organization owners can configure policies for {% data variables.product.prodname_copilot %} for their organization. +intro: 'Learn how to manage policies for {% data variables.product.prodname_copilot %} in your organization.' +permissions: Organization owners +product: '{% data reusables.gated-features.copilot-business-and-enterprise %}' versions: feature: copilot redirect_from: @@ -13,36 +14,40 @@ topics: shortTitle: Managing policies --- -## About managing policies for {% data variables.product.prodname_copilot %} +## About policies for {% data variables.product.prodname_copilot %} -{% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise %} and {% endif %}{% data variables.product.prodname_copilot_for_business %} {% ifversion ghec %}are{% else %}is a{% endif %} {% data variables.product.prodname_copilot %} subscription{% ifversion ghec %}s{% endif %}, managed at the {% ifversion ghec %}enterprise and{% endif %} organization level{% ifversion ghec %}s{% endif %}. Organization owners can manage policies for the use of {% data variables.product.prodname_copilot %} within the organization. The policy settings selected by an organization owner determine the behavior of {% data variables.product.prodname_copilot %} for all organization members granted access to {% data variables.product.prodname_copilot_short %} through the organization. +Organization owners can set policies to govern how {% data variables.product.prodname_copilot %} can be used within the organization. For example, an organization owner can enable or disable the following {% data variables.product.prodname_copilot_short %} features{% ifversion ghec %} (unless an enterprise owner has blocked access to these features at the enterprise level){% endif %}: -{% ifversion ghec %}Enterprise owners can manage policies for organizations within the enterprise. Where explicit settings have been selected at the enterprise level, an organization owner cannot override those settings at the organization level. For more information on managing policies at the enterprise level, see "[AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-copilot-in-your-enterprise)."{% endif %} +- Suggestions matching public code{% ifversion ghec %} +- {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %} (if your organization has a {% data variables.product.prodname_copilot_enterprise_short %} subscription){% endif %} +- {% data variables.product.prodname_copilot_chat_short %} in the IDE +- {% data variables.product.prodname_copilot_cli_short %} -## Configuring suggestion matching policies for {% data variables.product.prodname_copilot %} in your organization +The policy settings selected by an organization owner determine the behavior of {% data variables.product.prodname_copilot %} for all organization members that have been granted access to {% data variables.product.prodname_copilot_short %} through the organization. -{% data variables.product.prodname_copilot %} includes a filter which detects code suggestions that match public code on {% data variables.product.prodname_dotcom %}. {% data variables.product.prodname_copilot_short %} checks code suggestions with their surrounding code of about 150 characters against public code on {% data variables.product.prodname_dotcom %}. If your suggestion matching policy is configured to block matching code, matching suggestions will not be shown to you. +{% ifversion ghec %} -{% ifversion ghec %}If your enterprise admin has selected **No policy** for suggestion matching at the enterprise level, you can set a suggestion matching policy for your organization. If an organization member is assigned a seat by multiple organizations with different suggestion matching policies under the same enterprise, {% data variables.product.prodname_copilot %} will use the most restrictive policy.{% endif %} +{% data variables.product.prodname_copilot_short %} policies are also managed at the enterprise level. If your organization is part of an enterprise, and explicit settings have been selected at the enterprise level, you cannot override those settings at the organization level. For more information on managing policies at the enterprise level, see "[AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-copilot-in-your-enterprise)." -{% data reusables.profile.access_org %} -{% data reusables.profile.org_settings %} -{% data reusables.copilot.policy-settings %} -1. Under "Policies", in the "Suggestions matching public code" dropdown, select **Allowed** or **Blocked**. +{% endif %} -## Enabling features of {% data variables.product.prodname_copilot %} in your organization +### Policies for suggestion matching -{% ifversion ghec %}If your enterprise admin has selected **No policy** for the following features, you can enable or disable these for your organization.{% else %}You can enable or disable the following features for {% data variables.product.prodname_copilot %}.{% endif %} +Organization settings include an option to either allow or block code completion suggestions that match publicly available code. If you choose to block suggestions matching public code, {% data variables.product.prodname_copilot %} will check potential code completion suggestions and the surrounding code of about 150 characters against public code on {% data variables.product.prodname_dotcom %}. If there is a match, or a near match, the suggestion is not shown. -- Suggestions matching public code{% ifversion ghec %} -- {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %} (if your organization has a {% data variables.product.prodname_copilot_enterprise_short %} subscription){% endif %} -- {% data variables.product.prodname_copilot_chat_short %} in the IDE -- {% data variables.product.prodname_copilot_cli_short %} +{% ifversion ghec %}If your enterprise admin has selected **No policy** for suggestion matching at the enterprise level, you can set a suggestion matching policy for your organization. + +If an organization member is assigned a seat by multiple organizations with different suggestion matching policies under the same enterprise, {% data variables.product.prodname_copilot %} will use the most restrictive policy.{% endif %} + +## Enabling {% data variables.product.prodname_copilot_short %} features in your organization {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.copilot.policy-settings %} 1. Use the dropdown options to the right of each feature to enable or disable that feature for your organization. + + For example, to enable or disable suggestion matching, in the "Suggestions matching public code" dropdown, select **Allowed** or **Blocked**. + {% ifversion ghec %} 1. If your organization has a {% data variables.product.prodname_copilot_enterprise_short %} subscription and you enable {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %}, the option **Give {% data variables.product.prodname_copilot_short %} access to Bing** is displayed. Depending on your enterprise settings, you may be able to enable this option. When this option is enabled, {% data variables.product.prodname_copilot_chat_short %} will use search results from Bing to answer some questions. {% endif %} @@ -50,8 +55,5 @@ shortTitle: Managing policies ## Further reading - [{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center) -- "[AUTOTITLE](/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions)" -{% ifversion ghec %}- "[AUTOTITLE](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)"{% endif %} -- "[AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-ides/about-github-copilot-chat-in-your-ide)" -- "[AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/about-github-copilot-chat-in-github-mobile)" -- "[AUTOTITLE](/copilot/github-copilot-in-the-cli/about-github-copilot-in-the-cli)" +- "[AUTOTITLE](/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions)"{% ifversion ghec %} +- "[AUTOTITLE](/copilot/github-copilot-enterprise/overview/enabling-github-copilot-enterprise-features)"{% endif %} diff --git a/data/reusables/copilot/policy-settings.md b/data/reusables/copilot/policy-settings.md index 93e09e93326e..d9c2f3f7cf02 100644 --- a/data/reusables/copilot/policy-settings.md +++ b/data/reusables/copilot/policy-settings.md @@ -1 +1 @@ -1. In the "Code, planning, and automation" section of the sidebar, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}**, and then click **Policies**. +1. In the sidebar, under "Code, planning, and automation", click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}**, and then click **Policies**. diff --git a/data/reusables/gated-features/copilot-business-and-enterprise.md b/data/reusables/gated-features/copilot-business-and-enterprise.md new file mode 100644 index 000000000000..6772a9fe8ca5 --- /dev/null +++ b/data/reusables/gated-features/copilot-business-and-enterprise.md @@ -0,0 +1 @@ +Organizations with a subscription to [{% data variables.product.prodname_copilot_for_business %}](/copilot/copilot-business/about-github-copilot-business) or [{% data variables.product.prodname_copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise). diff --git a/data/reusables/gated-features/copilot-business.md b/data/reusables/gated-features/copilot-business.md new file mode 100644 index 000000000000..4264e99d966e --- /dev/null +++ b/data/reusables/gated-features/copilot-business.md @@ -0,0 +1,4 @@ +{% data variables.product.prodname_copilot_for_business %} is available for the following types of accounts: + +- Organizations with a {% data variables.product.prodname_free_team %} or {% data variables.product.prodname_team %} plan +- Enterprises and organizations on {% data variables.product.prodname_ghe_cloud %} diff --git a/data/reusables/gated-features/copilot-enterprise.md b/data/reusables/gated-features/copilot-enterprise.md index 5b886e604b62..0ca5fedda892 100644 --- a/data/reusables/gated-features/copilot-enterprise.md +++ b/data/reusables/gated-features/copilot-enterprise.md @@ -1 +1 @@ -To use this feature, you must be a member of an enterprise with a {% data variables.product.prodname_copilot_enterprise_short %} subscription. +{% data variables.product.prodname_copilot_enterprise %} is available for enterprise accounts on {% data variables.product.prodname_ghe_cloud %}.