You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Allow editing the "always" permission pattern before confirming #24795
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When a permission prompt appears and I choose "always", the pattern used is auto-generated by the tool. Sometimes that pattern is too broad or too narrow for what I actually want.
For example, in the screenshot below I wanted to run psql commands, but these were being swallowed by rtk * commands. I use rtk as a plugin, but I don't want to enable all commands.
It would be useful to be able to edit the pattern in the prompt before confirming, so I can tune it without having to manually open opencode.json after the fact. In this case I wanted to be able to allow rtk psql * commands only for the duration of the session.
Reacted by Modestas Vainius, N. Prat, Johnny Santos, rok-povsic, torryt, Tomasz Boguszewski and Tim Shilov
This issue might be a duplicate of or related to existing issues. Please check:
Allow editing MCP tool call content before execution when permission is 'ask' #23790: Requests the ability to edit tool call content/parameters before execution when permission is 'ask' — overlaps with this request in spirit (editing things at the permission prompt before confirming), though that issue focuses on MCP tool call parameters rather than the auto-generated permission pattern.
Allowing to edit the "always allow" command manually would work, but ideally it should be more a ignored_prefixes: ["rtk"] in the config or something like that to have the prompt directly be the intended command.
edit: above is maybe duped with #29311 and a bunch of others related
Activity
github-actions commentedon Apr 28, 2026
This issue might be a duplicate of or related to existing issues. Please check:
Grelo4ka commentedon Jun 16, 2026
That'd be indeed nice to have!
n-prat commentedon Jun 30, 2026
Also hitting this because using
rtk.Allowing to edit the "always allow" command manually would work, but ideally it should be more a
ignored_prefixes: ["rtk"]in the config or something like that to have the prompt directly be the intended command.edit: above is maybe duped with #29311 and a bunch of others related
github-actions commentedon Aug 30, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.