Skip to content

TPI: Copilot permission modes follow managed settings #340781

Closed

Description

@rwoll

Refs: #340617

Complexity: 2

Authors: Ross Wollman (@rwoll)

Create Issue


Enterprise managed settings control which Copilot permission modes are available and which mode is selected by default.

  1. Back up any existing managed settings file, then start with no file or {}:

    OS Managed settings file
    macOS /Library/Application Support/GitHubCopilot/managed-settings.json
    Windows %ProgramFiles%\GitHubCopilot\managed-settings.json
    Linux /etc/github-copilot/managed-settings.json
  2. Test these two cases. For each row, write the JSON to the managed settings file, restart VS Code Insiders, and start a new Copilot chat in the Editor window. Use a fresh temporary profile for each row so saved permission choices do not override the initial mode. Test without other managed policies.

    File contents Selectable modes Initial mode
    {"permissions":{"disableBypassPermissionsMode":"disable"}} Manual, Assisted Manual
    {"permissions":{"defaultMode":"assisted"}} Manual, Assisted, Allow All Assisted
  3. Open the permission picker and confirm the available modes and initial selection match the row.

Image
  1. Confirm blocked modes cannot be selected and allowed modes can. Setting defaultMode should not prevent switching to another allowed mode.

  2. Replace the file with {} and restart VS Code. Start a new Copilot chat and confirm all three modes are available again.

Additional cases to consider if you have time

Use the same steps with these policies:

File contents Selectable modes Initial mode
{} Manual, Assisted, Allow All Manual
{"permissions":{"disableAssistedPermissionsMode":true}} Manual, Allow All Manual
{"permissions":{"disableBypassPermissionsMode":"disable","disableAssistedPermissionsMode":true}} Manual Manual
{"permissions":{"defaultMode":"assisted","disableAssistedPermissionsMode":true}} Manual, Allow All Manual

Screenshot placeholder: With both modes disabled, only Manual is available.

After testing, restore the original managed settings file, or remove it if you created it for this test, and restart VS Code.

🤖 Authored with GitHub Copilot on behalf of Ross Wollman (@rwoll).

Activity

  1. added this to the 1.142.0 milestone on Oct 9, 2026
  2. changed the title [-]Copilot permission modes follow managed settings[/-] [+]TPI: Copilot permission modes follow managed settings[/+] on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions