behavior weirdness (permissions) #1276

Closed
opened 2026-02-16 17:30:16 -05:00 by yindo · 3 comments
Owner

Originally created by @rekram1-node on GitHub (Aug 12, 2025).

If I set "bash": "ask" I would expect to be prompted for all bash commands (if I allow always it should be specific to that command).

Current behavior:

https://github.com/user-attachments/assets/d1b46fd3-5c1a-4f98-b4c0-03c602e2b843

Originally created by @rekram1-node on GitHub (Aug 12, 2025). If I set `"bash": "ask"` I would expect to be prompted for all bash commands (if I allow always it should be specific to that command). Current behavior: https://github.com/user-attachments/assets/d1b46fd3-5c1a-4f98-b4c0-03c602e2b843
yindo closed this issue 2026-02-16 17:30:16 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 12, 2025):

👋 This issue might be a duplicate of existing issues. Please check:

  • #1876: Bug: #1862 broke global permissions - This issue describes broken global permissions where "allow always" behavior is not working correctly for specific commands

If none of these address your specific case, please let us know how this issue differs.

@github-actions[bot] commented on GitHub (Aug 12, 2025): 👋 This issue might be a duplicate of existing issues. Please check: - #1876: Bug: #1862 broke global permissions - This issue describes broken global permissions where "allow always" behavior is not working correctly for specific commands If none of these address your specific case, please let us know how this issue differs.
Author
Owner

@rekram1-node commented on GitHub (Aug 12, 2025):

👋 This issue might be a duplicate of existing issues. Please check:

If none of these address your specific case, please let us know how this issue differs.

related but not the same :)

@rekram1-node commented on GitHub (Aug 12, 2025): > 👋 This issue might be a duplicate of existing issues. Please check: > > * [Bug: #1862 broke global permissions #1876](https://github.com/sst/opencode/issues/1876): Bug: [Add agent-level permissions with whitelist/blacklist support #1862](https://github.com/sst/opencode/pull/1862) broke global permissions - This issue describes broken global permissions where "allow always" behavior is not working correctly for specific commands > > If none of these address your specific case, please let us know how this issue differs. related but not the same :)
Author
Owner

@rekram1-node commented on GitHub (Aug 12, 2025):

opened PR that makes permissions more usable

@rekram1-node commented on GitHub (Aug 12, 2025): opened PR that makes permissions more usable
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1276