Skip to content

Allow changing default permission button from 'Allow once' to 'Allow for this session' #33938

Description

@odakin

Feature Request

When a permission prompt appears with "Allow once" and "Allow for this session" options, the default (pre-selected) button is always "Allow once".

It would be great to have a setting to change the default to "Allow for this session", e.g. in ~/.claude/settings.json:

{
  "defaultPermissionScope": "session"
}

Motivation

When working on a project, I almost always want "Allow for this session" rather than "Allow once". Having to switch from the default every time adds friction. A configurable default would streamline the workflow without compromising safety (the user still explicitly chooses to change the default).

Current Workarounds

  • acceptEdits mode or permissions.allow rules can eliminate some prompts entirely, but these are coarser-grained than simply changing the default scope of the prompt.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions