[PR #6764] Better Permission Always for specific patterns #12092

Open
opened 2026-02-16 18:17:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6764

State: open
Merged: No


Currently if we have multiple patterns for permission, like edit, we are always allowing all, this makes it be per pattern:

config:

    "read": "ask",
image

config:

    "read": {
      "*README.md": "ask",
      "*Dockerfile": "ask",
    }
image image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6764 **State:** open **Merged:** No --- Currently if we have multiple patterns for permission, like edit, we are always allowing all, this makes it be per pattern: config: ``` "read": "ask", ``` <img width="2557" height="1014" alt="image" src="https://github.com/user-attachments/assets/cd8ae8f5-f523-4ef3-99fd-ed0a1dc57cc4" /> config: ``` "read": { "*README.md": "ask", "*Dockerfile": "ask", } ``` <img width="2557" height="1009" alt="image" src="https://github.com/user-attachments/assets/40d51492-5dea-4001-b522-9536fbf8456e" /> <img width="2553" height="1014" alt="image" src="https://github.com/user-attachments/assets/c4065975-2e63-428e-be6e-cfe2fcc5bfef" />
yindo added the pull-request label 2026-02-16 18:17:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12092