[FEATURE] Add 'Allow globally' option to permission prompt
Resolved 💬 3 comments Opened Jan 5, 2026 by hexcreator Closed Jan 9, 2026
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
When Claude Code prompts for permission to run a command, users currently see two persistent options:
- Allow (one-time)
- Allow in project scope (saves to
.claude/settings.jsonin the current project)
However, many commands are safe to run across ALL projects (e.g., git status, npm install, ls, curl, etc.). Currently, users must either:
- Click "Allow in project scope" in every new project they work with
- Manually edit
~/.claude/settings.local.jsonto add the command
This creates unnecessary friction for power users who work across many projects.
Proposed Solution
Add a third option to the permission prompt:
┌─────────────────────────────────────────────────┐
│ Allow this command? │
│ │
│ npm install │
│ │
│ [Allow] [Allow in project] [Allow globally] │
│ │
│ [Deny] │
└─────────────────────────────────────────────────┘
"Allow globally" would:
- Add the command pattern to
~/.claude/settings.local.jsonunderpermissions.allow - Apply to ALL projects going forward
- Work the same as manually adding to the global settings file
Alternative Solutions
Currently, users can:
- Manually edit
~/.claude/settings.local.jsonto add patterns - but this requires knowing the exact pattern format and interrupts workflow - Use the
/permissionscommand - but this doesn't offer a quick "make it global" action during the permission prompt
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
- I'm working on a new React project and Claude wants to run
npm install - I click "Allow in project scope"
- Next week, I start a new Vue project
- Claude asks permission for
npm installagain - I have to allow it again in this project
- This repeats for every new project
With this feature:
- First time Claude asks for
npm install, I click "Allow globally" - Never prompted for
npm installagain in any project
Additional Context
The infrastructure already exists:
~/.claude/settings.local.jsonalready stores global permissions inpermissions.allowarray- The permission prompt already saves to project-scoped settings
- This would just add a third destination option
Example of existing global permissions structure in ~/.claude/settings.local.json:
{
"permissions": {
"allow": [
"Bash(npm install:*)",
"Bash(git status:*)",
"WebSearch"
]
}
}This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗