Skip to content

[FEATURE]: Add quick permission preset switching in chat UI #27464

@Innerpeace1990

Description

@Innerpeace1990

Feature hasn't been suggested before

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Current behavior:
Permission configuration is only available by manually editing opencode.jsonc, and applies as a single global setting. There is no way to quickly switch between different permission levels during a session.

For users who are not comfortable editing JSON configuration, setting up custom permissions has a high barrier to entry.

Suggested enhancement:
Add a permission preset selector in the chat UI (e.g., in the toolbar or status bar) that allows users to quickly switch between predefined permission schemes:

  • Default: opencode's standard permission model (ask before each sensitive operation)
  • Custom: reads the user's permission config from opencode.jsonc
  • Full access: allows all operations without prompting, suitable for trusted environments where maximum productivity is needed

This would allow users to:

  • Start a session in Full access mode for trusted, repetitive tasks
  • Switch to Default mode when more caution is needed
  • Use Custom for finely-tuned permission configurations
  • Change permission levels without restarting or editing config files

Related: #23258 (permission model too noisy for autonomous sessions)

Environment:

  • OS: Windows 11 (Build 26200, 25H2)
  • opencode Desktop: v1.14.50

Metadata

Metadata

Assignees

Labels

No labels
No labels

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