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]: ability to modify the path of "always allow" on file reads #48011
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Whenever my agent tries to read a file, sometimes that file is in a directory (or nested directory) that I want it to always be able to access. When it's a nested directory, eg. /foo/bar, but I want it to have permanent access to /foo, right now my only option is to pop open the config (or another chat window) and configure access to /foo. It'd be nice if I could just modify the path I'm "always allow"ing in the tool confirmation prompt.
Thanks for the suggestion! You'd like to be able to change the path in the permission prompt before choosing "always allow", for example widening /foo/bar to /foo, so you don't have to open the config to grant access to a parent directory.
Right now the path that gets saved is fixed when the request is made: it's the project root containing the file (or the file's own directory) plus /*. The prompt shows that path but doesn't let you edit it. This also can't be done with a plugin at the moment, because plugins can't change the permission prompt or what an "always" reply saves.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the suggestion! You'd like to be able to change the path in the permission prompt before choosing "always allow", for example widening
/foo/barto/foo, so you don't have to open the config to grant access to a parent directory.Right now the path that gets saved is fixed when the request is made: it's the project root containing the file (or the file's own directory) plus
/*. The prompt shows that path but doesn't let you edit it. This also can't be done with a plugin at the moment, because plugins can't change the permission prompt or what an "always" reply saves.Maintainers will consider this request.