Add 'Remember this permission' option to permission prompts

Resolved 💬 3 comments Opened Jan 30, 2026 by joaquin-canals Closed Jan 30, 2026

Feature Request

Problem

Currently, when Claude Code asks for permissions, the user is presented with options like:

  • Yes (one-time)
  • No
  • Allow for this session
  • Allow for this directory

However, there's no way to permanently save a permission decision directly from the prompt.

Proposed Solution

Add a new option to permission prompts: "Yes, allow and save to settings" (or similar wording)

When selected, this option would:

  1. Allow the current operation
  2. Automatically append the permission pattern to .claude/settings.json in the permissions.allow array
  3. Apply the permission to all future sessions

Benefits

  • Reduces friction: Users won't need to manually edit settings.json after deciding to permanently allow something
  • Better UX: Natural workflow - if a user trusts an operation enough to allow it multiple times, they should be able to persist that decision easily
  • Consistency: Works seamlessly with git worktrees that symlink to a shared settings.json file

Current Workaround

Users must manually edit .claude/settings.json to add permissions to the allow array, which is less intuitive and interrupts the workflow.

Use Case

Common scenario: When working with project-specific directories like .claude/plans/**, users frequently need to allow Read/Write/Edit operations. Having to approve these repeatedly across sessions is tedious, but manually editing settings.json is not discoverable for many users.

Related

  • This would complement the existing PermissionRequest hook system
  • Different from session-based allowing, which is temporary

View original on GitHub ↗

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