Allow choosing permission scope in terminal
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
In the VS Code extension, when Claude Code asks for permission approval, the scope is underlined and clickable, cycling through:
- "this session" : temporary, no file modified
- "this project (just you)" :
.claude/settings.local.json - "this project (shared)" :
.claude/settings.json - "all projects" :
~/.claude/settings.json
In the terminal, option 2 ("Yes, always allow ..." or "Yes, and don't ask again for ...") saves the permission but there's no way to choose which scope/file it goes to. You get a single default with no way to cycle through alternatives.
Proposed Solution
Add a way to choose the permission scope in the terminal before accepting. Perhaps using left/right arrow keys, or CTRL + some other key to cycle through scope levels.
Alternative Solutions
Current workaround: Accept the permission, then manually move the rule to the desired settings file afterward.
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
#26529 asks to control where "Always allow" permissions are persisted (global vs local). However, it's narrower: it only asks for a flag/setting to change the default, not an interactive way to choose scope at prompt time.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗