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

390 pages for permissions.

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

Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …ettings-precedence). Different teams get different models, tools, and permissions, and a developer can't override what their policy locks. * **Settings delivery**: the gateway delivers managed setting… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …ial `auth:` block passed validation. | Setup | How | | - | - | | IAM permissions | Grant the gateway's principal `bedrock:InvokeModel` and `bedrock:InvokeModelWithResponseStream` on both the inferenc… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …of Bedrock or alongside it. Its upstream entry, credentials, and IAM permissions differ from this page's Bedrock-scoped ones; the [Claude Platform on AWS upstream reference](/docs/en/claude-apps-gate… Explore the .claude directory Claude Code CLI · in the page claude-directory …var(--ce-text-3)', badge: 'committed', oneLiner: 'Permissions, hooks, and configuration', when: <>Overrides global <C>~/.claude/settings.json</C>. Local settings, CLI fla… Claude Code on Claude Platform on AWS Claude Code CLI · in the page claude-platform-on-aws …/platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions): permissions and managed policies Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …broader option. Cloud threads don't read [permission rules](/docs/en/permissions.md) from a repository's `.claude/settings.json`, so you rely on auto mode and on the approvals you give inside each th… Scan your codebase for vulnerabilities Claude Code CLI · in the page claude-security …de security](/docs/en/security.md): how Claude Code approaches trust, permissions, and safeguards * [Install and manage plugins](/docs/en/plugins/install.md): find and install other plugins from the o… CLI reference Claude Code CLI · in the page cli-reference …you mean claude update?`. As of v2.1.199, `claude --dangerously-skip-permissions daemon <subcommand>` runs the `daemon` subcommand. Earlier versions treated `daemon <subcommand>` as the prompt for a… Configure cloud environments Claude Code CLI · in the page cloud-environments …osted environment](/docs/en/self-hosted-environments-configuration.md#permissions-and-tool-approval)**: Claude Code also runs the hooks the operator seeded from the runner host's `~/.claude/`, and the… Code Review Claude Code CLI · in the page code-review …oose which repositories the app can access, and approve the requested permissions. To review a pull request, Claude reads your repository contents through the app's read access, and posts comment… Set up Code Review Claude Code CLI · in the page code-review-setup …Choose which repositories the app can access. * Approve the requested permissions. The set is broader than a review uses and is shared by other Claude features, such as [GitHub Actions](/docs/en/githu… Commands Claude Code CLI · in the page commands …m inside a session. They provide a quick way to switch models, manage permissions, clear context, run a workflow, and more. Type `/` to see the commands available to you, or type `/` followed by lett… Common workflows Claude Code CLI · in the page common-workflows …files: * **Block specific paths**: add a [`Read` deny rule](/docs/en/permissions#read-and-edit) for them. Claude Code doesn't include a file that the rule matches. * **Stop `@` references from includ… Communications kit Claude Code CLI · in the page communications-kit …osal to review. 📖 Permission modes → https://code.claude.com/docs/en/permissions ``` **Checkpointing and `/rewind`** ```markdown theme={null} ⏪ *Tip: There is an undo button for the whole conversat… Let Claude use your computer from the CLI Claude Code CLI · in the page computer-use …once for each project where you want computer use. **3. Grant macOS permissions** The first time Claude tries to use your computer, you'll see a prompt to grant two macOS permissions: * **Accessib… Run Claude Code behind a corporate launcher Claude Code CLI · in the page corporate-launcher …E_CODE_PROCESS_WRAPPER` reference entry * [Managed settings](/docs/en/permissions.md#managed-settings): deliver the `env` block across a fleet * [Launcher error reference](/docs/en/errors.md#claude_co… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …n the receiving machine with its own tools, subject to that session's permissions. Claude Code refuses a message in the following cases: * The message is [over the size cap](#limitations). Claude Co… Data usage Claude Code CLI · in the page data-usage …blocklist, so combine it with [`WebFetch` permission rules](/docs/en/permissions#webfetch) if you need to restrict which domains Claude can reach. Debug your configuration Claude Code CLI · in the page debug-your-config …figurations | | `/mcp` | Connected MCP servers and their status | | `/permissions` | Resolved allow and deny rules currently in effect | | `/doctor` | Setup checkup: installation health, invalid setti… Desktop application Claude Code CLI · in the page desktop …switch to Manual. To set a default mode for new local sessions, add `permissions.defaultMode` to your [settings file](/docs/en/settings.md#where-settings-live). The desktop app reads the same setting… Test iOS apps in the simulator Claude Code CLI · in the page desktop-ios-simulator …so the pane doesn't need the macOS Accessibility and Screen Recording permissions that computer use requires. If you decline, the device still boots and the pane still works for your own taps; only C… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …del** In the instructions box's toolbar, select a [permission mode](#permissions-for-scheduled-tasks) and model. If you leave them unchanged, runs use your Claude Code settings and the default model.… Development containers Claude Code CLI · in the page devcontainer …etely immune to all attacks. > When executed with `--dangerously-skip-permissions`, dev containers do not prevent a malicious project from exfiltrating anything accessible inside the container, includ… Environment variables Claude Code CLI · in the page env-vars …de then sends these removals to the classifier instead, and in `bypassPermissions` mode the prompt waits for your answer. Set it in the environment that launches Claude Code, since Claude Code ignores… Error reference Claude Code CLI · in the page errors …dential-rejected-in-cowork) | | `MCP server "<name>" needs additional permissions (scope: "<scope>") — run /mcp to re-authenticate` | [Authentication](#mcp-server-needs-you-to-sign-in-again) | | `MCP… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …> [!NOTE] > > * When you install the GitHub App, you grant it several permissions. See [GitHub App permissions](#github-app-permissions) for the full set > * Quick setup works with the Claude API and… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …Custom GitHub App**: create your own app when you want only the three permissions the Claude Code GitHub Action uses rather than the [official app's full set](/docs/en/github-actions.md#github-app-per… Claude Code with GitHub Enterprise Server Claude Code CLI · in the page github-enterprise-server …ositories using the same configuration as github.com. ### GitHub App permissions The manifest configures the GitHub App with the permissions and webhook events below, which together cover cloud sess… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …t network and filesystem rules. Claude Code enforces workspace-scoped permissions to constrain writes. Every change flows through an MR so reviewers see the diff and approvals still apply. Pick regio… Glossary Claude Code CLI · in the page glossary …s are `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, and `bypassPermissions`. The `default` mode is labeled Manual in the CLI, in the VS Code and JetBrains extensions, and in the desktop app, a… Keep Claude working toward a goal Claude Code CLI · in the page goal …r the same [workspace trust rule as hooks in settings files](/docs/en/permissions.md#what-runs-before-you-trust-a-folder), because the evaluator is part of the hooks system. `/goal` is also unavailabl… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …ai/model-garden). See [IAM configuration](#iam-configuration) for the permissions your account needs. **2. Start Claude Code and choose Google Cloud's Agent Platform** Run `claude`. At the login pro… Run Claude Code programmatically Claude Code CLI · in the page headless …erver approval prompt. [What runs before you trust a folder](/docs/en/permissions.md#what-runs-before-you-trust-a-folder) covers each kind of repository content under `-p` and how to keep it out. Thi… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …ch commands and hosts Claude can use, see [permission rules](/docs/en/permissions.md) and the [sandbox](/docs/en/sandboxing.md). ## Manage local session data Claude Code (local mode) and Cowork (loc… Hooks reference Claude Code CLI · in the page hooks …the tool call continues through the normal [permission flow](/docs/en/permissions.md). The hook can deny the call, but staying silent doesn't approve it. **5. Claude Code acts on the result** Claude… Automate actions with hooks Claude Code CLI · in the page hooks-guide …ic permission mode instead, your hook's output can include an `updatedPermissions` array with a `setMode` entry. The `mode` value is any permission mode like `default`, `acceptEdits`, or `bypassPermis… How Claude Code works Claude Code CLI · in the page how-claude-code-works …age) for tips on managing context. ## Stay safe with checkpoints and permissions Claude has two safety mechanisms: checkpoints let you undo file changes, and permissions control what Claude can do w… Interactive mode Claude Code CLI · in the page interactive-mode …eld. See [add a comment when you answer a permission prompt](/docs/en/permissions.md#add-a-comment-when-you-answer-a-permission-prompt) | | `Up/Down arrows` or `Ctrl+P`/`Ctrl+N` | Move cursor or navig… JetBrains IDEs Claude Code CLI · in the page jetbrains …s automatically shared with Claude Code. [`Read` deny rules](/docs/en/permissions#read-and-edit) block this sharing for matching files * **File reference shortcuts**: use `Cmd+Option+K` (Mac) or `Alt+… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …On a file permission prompt, closes an open [comment field](/docs/en/permissions.md#add-a-comment-when-you-answer-a-permission-prompt); with no field open, selects the option that allows the action f… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …[`Read` deny rules](#block-reads-of-generated-and-vendored-code) in `permissions.deny` | | Find a symbol's definition or callers through the language server instead of scanning files | A [code intell… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …` applies only after the first-run wizard and [trust prompt](/docs/en/permissions.md#what-runs-before-you-trust-a-folder) | Set `ANTHROPIC_AUTH_TOKEN` somewhere Claude Code reads before first-run setu… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …appear, Claude Code isn't reading the file, so check its path and the permissions on its parent directories. * If the file's servers don't appear and the `MCP config diagnostics` section marks the… Deploy managed settings Claude Code CLI · in the page managed-settings …om `--allowedTools`: ```json managed-settings.json theme={null} { "permissions": { "deny": [ "Read(./.env)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …s launch directory plus every [additional working directory](/docs/en/permissions.md#working-directories) you've granted with `--add-dir`, `/add-dir`, or the `additionalDirectories` setting. Claude Co… How Claude remembers your project Claude Code CLI · in the page memory …er-level-rules)**: the session's [primary working directory](/docs/en/permissions.md#working-directories) To have path-scoped rules load for files in a sibling git worktree, start Claude Code in that… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …ave: * An Azure subscription with access to Microsoft Foundry * RBAC permissions to create Microsoft Foundry resources and deployments * Azure CLI installed and configured (optional - only needed if… Claude Code on mobile Claude Code CLI · in the page mobile …s offer Manual, Accept edits, Plan, and Auto. You can't select Bypass permissions from the app in either case. See [switch permission modes](/docs/en/permission-modes.md#switch-permission-modes) for w… Model configuration Claude Code CLI · in the page model-config …model sonnet ``` Example settings file: ```json theme={null} { "permissions": { "allow": ["Bash(npm run lint)"] }, "model": "opus" } ``` #### Set a default model for new session… Monitoring Claude Code CLI · in the page monitoring-usage …sent in these cases: * An allow or deny [permission rule](/docs/en/permissions.md#manage-permissions) decided the call * Claude Code approved the call in auto mode without asking the classifier…
Feedback