{"version":"2.1.315","anchor":"permission-mode-checks-honor-pre-rewrite-mode","canonical_anchor":"permission-mode-checks-honor-pre-rewrite-mode","heading":"A permission check now also looks at the mode in use before it was rewritten","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315\/e\/permission-mode-checks-honor-pre-rewrite-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315","markdown":"### A permission check now also looks at the mode in use before it was rewritten\n\nOne permission check now counts the mode that was in use before Claude Code rewrote it, such as bypassPermissions\n\n**Unclear.** It is not stated which feature this mode check controls.\n\n**What**\n\nA permission mode decides how Claude Code asks for approval, for example `bypassPermissions`, which skips asking. Claude Code sometimes rewrites the active mode. One check that depends on the mode now passes if either the current mode or the mode in use before the rewrite is `bypassPermissions` or one of a couple of other modes. Before, this check did not look at the mode at all.\n\n**Why**\n\nThis can change whether some permission-related behaviour applies after your mode has been rewritten.\n\n- Area: Permissions\n- Names: `bypassPermissions`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}