Search the documentation
10 pages for allowmanagedhooksonly.
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
…| | [Hook restrictions](/docs/en/settings-reference#allowmanagedhooksonly) | Restrict which hooks run and restrict HTTP hook URLs; see [what runs under `allowMan…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…dPermissionRulesOnly": true, "allowManagedMcpServersOnly": true, "allowManagedHooksOnly": true, "allowedMcpServers": [{ "serverUrl": "https://mcp.internal.example.com/*" }], "sandbox": { "…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…-remove-hooks) is `true` after settings precedence applies, or when [`allowManagedHooksOnly`](/docs/en/settings-reference#allowmanagedhooksonly) is set in managed settings. In each case, the command t…
Hooks reference
Claude Code CLI · in the page
hooks
…elds) that identify the subagent. Enterprise administrators can use `allowManagedHooksOnly` to restrict which hooks run: * Your user, project, local, and plugin hooks are blocked. Hooks from plugins…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…highest-ranked source | `allowManagedHooksOnly`, `permissions.disableBypassPermissionsMode`, `crossSessionInbound` | | Res…
Create and distribute a plugin marketplace
Claude Code CLI · in the page
plugin-marketplaces
…ommandpluginsources) to `true` blocks `headersHelper` commands, and [`allowManagedHooksOnly`](/docs/en/settings-reference#allowmanagedhooksonly) blocks them too unless `disableCommandPluginSources` is…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…sableAllHooks` disables them, and they are not among the categories [`allowManagedHooksOnly`](/docs/en/settings-reference#allowmanagedhooksonly) keeps loaded. ### Repository-committed permission rule…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `allowManagedHooksOnly` | Treated as `true`, so the [hook restrictions](#hook-configuration) apply until the value is fixed a…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| MCP | Any file | | [`allowManagedHooksOnly`](#allowmanagedhooksonly) | Run only the [hooks](/docs/en/hook…
Customize your status line
Claude Code CLI · in the page
statusline
…content` string to hide it. The same trust, `disableAllHooks`, and [`allowManagedHooksOnly`](/docs/en/settings-reference#allowmanagedhooksonly) gates that apply to `statusLine` apply here. Plugins ca…