Skip to content

Related settings keys

Permission rules are declared and managed via these settings keys (full documentation in Settings/permissions-security.md):

SettingPurpose
permissions.allowArray of rules that auto-approve tool use.
permissions.denyArray of rules that block tool use.
permissions.askArray of rules that force a prompt.
permissions.defaultModeDefault behavior fallback (default, acceptEdits, plan, auto, dontAsk, bypassPermissions).
permissions.additionalDirectoriesPaths Claude can read/edit beyond the working directory.
autoModeObject with environment, allow, soft_deny prose rules for auto-mode classifier tuning.
skipDangerousModePermissionPromptSkip the confirmation prompt when entering bypassPermissions mode.
skipAutoPermissionPromptSkip the opt-in prompt when activating auto mode.
useAutoModeDuringPlanWhether plan mode uses auto-mode semantics (default true).
disableAutoModePrevent auto mode from being used.
disableBypassPermissionsModePrevent bypassPermissions mode from being used.
allowManagedPermissionRulesOnly(Managed only) Prevent user/project rules; enforce managed rules only.

See Settings/permissions-security.md for JSON examples and storage details.


← Back to Permissions/README.md