Skip to content

Desktop app: bypassPermissions mode still prompts for confirmation #42975

@ylytdeng

Description

@ylytdeng

Description

On the Claude Code Desktop app (Windows 11), setting permissions.defaultMode to "bypassPermissions" in both global and project settings still prompts for confirmation on every tool use (Edit, Write, Bash, etc.).

Steps to Reproduce

  1. Set ~/.claude/settings.json:
{
  "permissions": {
    "allowedModes": ["default", "acceptEdits", "plan", "bypassPermissions"],
    "defaultMode": "bypassPermissions"
  }
}
  1. Also set .claude/settings.local.json in the project:
{
  "permissions": {
    "defaultMode": "bypassPermissions"
  }
}
  1. Restart the Claude Code Desktop app
  2. Use Shift+Tab to confirm the mode is set to bypass/auto
  3. Try any tool use (e.g., Edit a file)

Expected Behavior

Tools should execute without prompting for confirmation.

Actual Behavior

Every tool use still shows a confirmation prompt that requires clicking to approve.

Environment

  • App: Claude Code Desktop (Windows)
  • OS: Windows 11 Home China 10.0.26200
  • Shell: bash (WSL)
  • Working directory: WSL path (\wsl$\Ubuntu\home\...)

Notes

  • Both global (~/.claude/settings.json) and project-level (.claude/settings.local.json) configs have "defaultMode": "bypassPermissions" set correctly
  • The UI mode selector also shows the correct mode
  • Issue persists after app restart

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:desktoparea:permissionsbugSomething isn't workingduplicateThis issue or pull request already existshas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windowsplatform:wslIssue specifically occurs on WSL

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions