Skip to content

[FEATURE] acp: 'Always allow (all projects)' option that writes to global permission config #28926

Description

@bcdady

Problem

In ACP mode (e.g. Zed), clicking "Always allow" on a permission prompt stores the approval in the per-project database. If you want the same rule to apply across all projects, you have to manually edit ~/.config/opencode/opencode.json and add the pattern to the permission block.

For common tools like grep, python3, or git, this means repeated prompts in every new project until you remember to update the config by hand.

Proposed solution

Add a fourth option to the ACP permission prompt alongside the existing three:

  • Allow once
  • Always allow (current project)
  • Always allow (all projects) ← new
  • Reject

Selecting "Always allow (all projects)" would write the pattern directly into the global config file under the appropriate permission key, making it effective immediately for all projects.

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions