[BUG] Accept all edits not working with personal edit + write permissions override

Resolved 💬 3 comments Opened Feb 27, 2026 by mufeez-amjad Closed Mar 27, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When overriding repo-level allow permissions for Edit and Write by placing them in "ask" in personal .claude/settings.local.json, selecting "Yes, and accept all for this session" doesn't persist. Every subsequent edit still prompts for approval.

What Should Happen?

After selecting "accept all for this session", remaining Edit/Write operations in that session should not prompt again.

Error Messages/Logs

Steps to Reproduce

  1. Have a repo .claude/settings.json with Edit and Write in "allow":
{
  "permissions": {
    "allow": ["Read", "Edit", "Write"]
  }
}
  1. Add Edit and Write to "ask" in .claude/settings.local.json to override:
{
  "permissions": {
    "ask": ["Edit", "Write"]
  }
}
  1. Start a session and give a task requiring multiple file edits.
  2. On the first prompt, select "Yes, and accept all for this session".
  3. Next edit still prompts for permission. Every edit after that does too.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.62 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

Might be related to https://github.com/anthropics/claude-code/issues/12070 but seems like a separate issue, this only happens when I added the override.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗