{"name":"permissions.denyInsteadOfPrompting","slug":"permissions-denyinsteadofprompting","family":"setting","title":"Settings keys","noun":"settings key","description":"Claude Code now passes along a `permissions.denyInsteadOfPrompting` setting when it is set to true, next to the read and write block settings","description_source":"entry","described_by":{"version":"2.1.319","anchor":"new-managed-permission-setting-denyinsteadofprompting"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.319","builds":0,"mined_builds":159,"first_cited":{"version":"2.1.319","released_at":"2026-11-06 00:58:56","spans":2}},"aliases":[],"entries":[{"version":"2.1.319","anchor":"new-managed-permission-setting-denyinsteadofprompting","heading":"New permission setting denyInsteadOfPrompting is carried through settings","line":"Claude Code now passes along a `permissions.denyInsteadOfPrompting` setting when it is set to true, next to the read and write block settings","released_at":"2026-11-06 00:58:56","reason":"named in this entry, found in this entry's text"},{"version":"2.1.319","anchor":"permissionsdenyinsteadofprompting-is-now-a-restrictive-only","heading":"permissions.denyInsteadOfPrompting can only make Claude Code stricter","line":"`permissions.denyInsteadOfPrompting` is now restrictive-only: project and local settings are ignored, and true in any allowed source wins","released_at":"2026-11-06 00:58:56","reason":"named in this entry, found in this entry's text"},{"version":"2.1.319","anchor":"permissionsdenyinsteadofprompting-stops-a-run-of-refusals","heading":"permissions.denyInsteadOfPrompting can end a turn after repeated refusals","line":"With permissions.denyInsteadOfPrompting, a run of refused actions now ends the turn with a denial instead of asking you","released_at":"2026-11-06 00:58:56","reason":"named in this entry, found in this entry's text"},{"version":"2.1.319","anchor":"denyinsteadofprompting-refused-call-streak-ends-the-turn","heading":"Repeated refusals under denyInsteadOfPrompting now end the turn","line":"With `permissions.denyInsteadOfPrompting`, Claude Code ends the turn after too many tool calls in a row are refused","released_at":"2026-11-06 00:58:56","reason":"named in this entry, found in this entry's text"},{"version":"2.1.319","anchor":"avoid-prompts-mode-now-marks-avoidspromptsbynature-denyinst","heading":"No-prompt permission mode and denyInsteadOfPrompting are treated differently","line":"The mode that avoids permission prompts now marks itself as avoiding them by nature, and `denyInsteadOfPrompting` now counts as a restrictive setting","released_at":"2026-11-06 00:58:56","reason":"named in this entry"}],"entries_total":5,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"permissions","slug":"permissions","description":"Set allow, ask, and deny rules and the default [permission mode](https:\/\/code.claude.com\/docs\/en\/permission-modes.md)"},{"name":"permissions.additionalDirectories","slug":"permissions-additionaldirectories","description":"Give Claude file access to [directories outside the current one](https:\/\/code.claude.com\/docs\/en\/permissions.md#working-directories)"},{"name":"permissions.allow","slug":"permissions-allow","description":"Approve listed [tool uses](https:\/\/code.claude.com\/docs\/en\/permissions.md#permission-rule-syntax) without a prompt"},{"name":"permissions.ask","slug":"permissions-ask","description":"Always prompt before listed [tool uses](https:\/\/code.claude.com\/docs\/en\/permissions.md#permission-rule-syntax)"},{"name":"permissions.blockReadsExemptPaths","slug":"permissions-blockreadsexemptpaths","description":"`permissions.blockReadsExemptPaths` lists paths that stay readable when `blockReadsOutsideWorkingDirectories` is on, and is read only from flag settings"},{"name":"permissions.blockReadsOutsideWorkingDirectories","slug":"permissions-blockreadsoutsideworkingdirectories","description":"Make the file tools refuse reads outside the [working directories](https:\/\/code.claude.com\/docs\/en\/permissions.md#working-directories) in every permission mode"},{"name":"permissions.blockWritesOutsideWorkingDirectories","slug":"permissions-blockwritesoutsideworkingdirectories","description":"Make the `Write`, `Edit`, and `NotebookEdit` tools refuse paths outside the [working directories](https:\/\/code.claude.com\/docs\/en\/permissions.md#working-directories) in every permission mode, apart from [some of Claude Code's own files](#what-the-write-block-refuses-and-what-stays-writable)"},{"name":"permissions.defaultMode","slug":"permissions-defaultmode","description":"Set the default [permission mode](https:\/\/code.claude.com\/docs\/en\/permission-modes.md#which-mode-a-session-starts-in) for new sessions"},{"name":"permissions.deny","slug":"permissions-deny","description":"Block listed [tool uses](https:\/\/code.claude.com\/docs\/en\/permissions.md#permission-rule-syntax), including reads of files that hold secrets"},{"name":"permissions.disableAutoMode","slug":"permissions-disableautomode","description":"Set `disableAutoMode` to \"disable\" to stop Claude Code ever falling back to auto permission mode."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/permissions-denyinsteadofprompting","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}