Add “Always allow this file/folder” options to file edit permissions
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What variant of Codex are you using?
ChatGPT desktop app on macOS
Powered by Codex & OWL
Version 26.707.61608
Released Jul 13, 2026
What feature would you like to see?
Add scoped persistent edit permissions to the file-edit approval dialog.
When Codex requests permission to edit a file outside the current workspace, the dialog currently offers:
- Allow once
- Allow all edits
I would like two additional options:
- Allow all edits to this file
- Allow all edits in this folder
These permissions should persist for the current session or project, so subsequent edits within the approved scope do not require another prompt.
The dialog should clearly show the file or directory being authorized. For folder permissions, it should also be clear whether the permission includes subdirectories.
Additional information
My concrete use case is temporary files created by Codex under /private/tmp.
Codex created temporary files outside the workspace in /private/tmp and subsequently needed to edit those files. Each edit triggered another permission prompt.
Allow once causes repeated interruptions, while Allow all edits grants substantially more access than necessary.
For example, if Codex creates and works with files in /private/tmp/<specific-directory>/, I would like to authorize edits to that specific directory without granting unrestricted edit permission elsewhere.
Similarly, if only one temporary file needs repeated edits, I would like to authorize that specific file.
This would provide a least-privilege option between approving every individual edit and allowing all edits globally.
Ideally, scoped permissions could also be reviewed and revoked from the app's settings.
I found related requests concerning writable roots and repeated approvals, but this request is specifically for file- and folder-scoped persistent authorization directly from the Codex desktop app's file-edit permission dialog.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repeated approval flow in the Codex desktop app and tracing the file-edit permission dialog. Review how the dialog handles “Allow once” and “Allow all edits,” then determine how project or session permissions and the app settings entry for reviewing or revoking them fit together. Done means file- and folder-scoped approvals work with clear boundaries, persist as described, and can be revoked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- authorization, desktop, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100