跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

Enabling or disabling cloud sandboxes for your organization or enterprise

You can control whether members of your organization or enterprise can use cloud sandboxes by managing the cloud sandbox access policy in your organization or enterprise settings.

Cloud sandboxes for GitHub Copilot are in public preview and subject to change.

About enabling and disabling cloud sandboxes

Organization owners can control whether members of their organization have access to cloud sandboxes by configuring the cloud sandbox access policy. Enterprise owners can control cloud sandbox access for all organizations in the enterprise. By default, cloud sandbox access is disabled.

For more information about cloud sandboxes, see AUTOTITLE.

Enabling or disabling cloud sandboxes for your organization

  1. In the upper-right corner of GitHub, click your profile picture, then click organization Organizations.

  2. Select an organization by clicking on it.

  3. Under your organization name, click gear Settings. If you cannot see the "Settings" tab, select the More dropdown menu, then click Settings.

    Screenshot of the tabs in an organization's profile. The "Settings" tab is outlined in dark orange.

  4. In the sidebar, under "Code, planning, and automation", click Sandboxes.

  5. Under "Cloud sandbox access", select your preferred setting:

    • Disabled: Cloud sandbox access is not available for organization members.
    • Enabled: Members of this organization can use cloud sandboxes.
  6. Click Save.

Enabling or disabling cloud sandboxes for your enterprise

Enterprise owners can control cloud sandbox access for all organizations in the enterprise from the Policies tab of the enterprise settings. By default, cloud sandbox access is disabled for all organizations in the enterprise.

  1. Navigate to your enterprise. For example, from the Enterprises page on GitHub.com.

  2. At the top of the page, click law Policies.

  3. Click Sandboxes.

  4. Under "Cloud sandbox access", select your preferred setting:

    • Disabled: Cloud sandbox access is not available for any organizations in this enterprise.
    • Let organizations enable (opt-in): Organization owners can choose to enable cloud sandbox access for their members. New organizations default to disabled.
    • Enabled by default for all organizations (opt-out): Cloud sandbox access is enabled for all organizations. Organization owners can still disable access for their organization if needed.
  5. Click Save.

Further reading