Claude Code Permissions: Rules, Modes, and How Approvals Are Saved
This guide explains how Claude Code's permission system works based on Anthropic's documentation. It covers the tiered approval model for read-only tools, Bash commands, and file edits; where permanent approvals are saved; how allow, ask, and deny rules are evaluated; the difference between bare tool-name deny rules and scoped pattern rules; the Ctrl+E command explanation shortcut; and the permission modes you can set with defaultMode, including default, acceptEdits, plan, and auto.
Read guide →