Improvement

June 17, 20261 Minute Read

Enterprise-managed settings now support bypass permission controls

sttings.json file including an example permission definition for disableBypassPermissionsMode

We’re adding our first governance capability to the enterprise-managed settings configuration. Enterprise administrators can now set disableBypassPermissionsMode to "disable" in the enterprise-managed settings.json to prevent GitHub Copilot CLI and VS Code from automatically skipping permission prompts (also known as “yolo mode” or auto-approve).

Add disableBypassPermissionsMode to .github-private/.github/copilot/settings.json. GitHub Copilot automatically pulls and applies these settings for users licensed through your enterprise account with Copilot Business or Copilot Enterprise. If you’ve already configured a source organization for custom agents, this setting uses that same .github-private repository. You can confirm that your configuration is active on the Agents page under AI controls in your enterprise settings.

This builds on the enterprise-managed plugins for Copilot CLI and VS Code capabilities launched earlier. VS Code v1.122+ already respects enterprise-managed settings including this policy. The new supported path for AI standards is copilot/managed-settings.json, with backward compatibility for .github/copilot/settings.json.

To learn more, see Disabling automatic command approval in Copilot clients.

Join the discussion within GitHub Community.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Enterprise-managed settings now support bypass permission controls - GitHub Changelog