Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

18 pages for disablebypasspermissionsmode.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …y-skip-permissions` | `allowManagedPermissionRulesOnly`, `permissions.disableBypassPermissionsMode` | | [Starting permission mode](/docs/en/permission-modes.md#which-mode-a-session-starts-in) | Choose… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …- "Read(./.env)" - "Read(./secrets/**)" disableBypassPermissionsMode: disable # blocks --dangerously-skip-permissions allowManagedPermissionRulesOnly: true… Desktop application Claude Code CLI · in the page desktop …gh the admin console. | Key | Description | | - | - | | `permissions.disableBypassPermissionsMode` | set to `"disable"` to prevent users from enabling Bypass permissions mode. | | `disableAutoMode` |… Development containers Claude Code CLI · in the page devcontainer …from using `--dangerously-skip-permissions` at all, set `permissions.disableBypassPermissionsMode` to `"disable"` in [managed settings](/docs/en/settings-reference.md#permission-settings). ## Try th… Hooks reference Claude Code CLI · in the page hooks …the update is a no-op. The update is also a no-op when [`permissions.disableBypassPermissionsMode`](/docs/en/permissions#managed-settings) disables the mode, or when the session starts in [restricted… Automate actions with hooks Claude Code CLI · in the page hooks-guide …ltmode). It doesn't apply if bypass mode is disabled by [`permissions.disableBypassPermissionsMode`](/docs/en/permissions#managed-settings), or if you started the session in [restricted mode](/docs/en… Deploy managed settings Claude Code CLI · in the page managed-settings …deny": [ "Read(./.env)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable" }, "allowManagedPermissionRulesOnly": true } ``` For a fuller example that shows the… Choose a permission mode Claude Code CLI · in the page permission-modes …n managed settings * **Block `bypassPermissions`**: set [`permissions.disableBypassPermissionsMode`](/docs/en/settings-reference#permissions-disablebypasspermissionsmode) to `"disable"` in managed set… Configure permissions Claude Code CLI · in the page permissions …`bypassPermissions` or `auto` mode from being used, set `permissions.disableBypassPermissionsMode` or `permissions.disableAutoMode` to `"disable"` in any [settings file](/docs/en/settings.md#where-se… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …env)", "Read(./.env.*)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable" }, "allowManagedPermissionRulesOnly": true } ``` Hooks use the same format as in `se… Claude Code settings Claude Code CLI · in the page settings …ble"` | | `disableBypassPermissionsMode` | Set to `"disable"` to prevent `bypassPermissions` mode from being activated. This disables th… Example settings files Claude Code CLI · in the page settings-example …s Claude writes them](/docs/en/permissions.md#bash-rule-limits), and `disableBypassPermissionsMode` removes the bypass permission mode * [`allowManagedPermissionRulesOnly`](/docs/en/settings-reference… All settings Claude Code CLI · in the page settings-reference …that hold secrets | Permission settings | Any file | | [`permissions.disableBypassPermissionsMode`](#permissions-disablebypasspermissionsmode) | Prevent anyone from entering [bypassPermissions mode](… Changelog Claude Documentation · in the page cowork/changelog …restart, and the key can also be set from device management. * Added `disableBypassPermissionsMode`: removes bypass permissions mode from Code sessions and Cowork tasks, so Claude always follows the c… Code in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/code …[applied as managed policy](#applied-as-managed-policy) instead. | | `disableBypassPermissionsMode` | Removes bypass permissions mode. The app stops offering the mode and starts a session that request… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …d) | Allow Auto mode | Capabilities | Self-hosted Admin Console | | [`disableBypassPermissionsMode`](#disablebypasspermissionsmode) | Disable bypass permissions mode | Capabilities | Admin Console | |… Configuration changelog Claude Documentation · in the page third-party/claude-desktop/configuration-changelog …kintervalminutes) | `integer` | Configuration re-check interval | | [`disableBypassPermissionsMode`](/docs/third-party/claude-desktop/configuration#disablebypasspermissionsmode) | `boolean` | Disable… SSH remote sessions in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/ssh-remote-sessions …`disabledBuiltinTools`, `builtinToolPolicy`, `autoModeEnabled`, and `disableBypassPermissionsMode`. * [`allowedWorkspaceFolders`](/docs/third-party/claude-desktop/configuration#allowedworkspacefolder…
Feedback