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
Custom (config.toml) option disappears for never + danger-full-access #38535
CLIIssues related to the Codex CLIappIssues related to the Codex desktop appbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatesextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxing
This affects the ChatGPT Desktop app, Codex VS Code extension, and Codex CLI.
What steps can reproduce the bug?
Set the configuration above.
Open the permission selector.
Custom (config.toml) is missing. With another combination, such as on-request plus workspace-write, it appears normally.
What is the expected behavior?
Keep Custom (config.toml) available, or show Full access (from config.toml).
Additional information
Version 26.727.40816 still showed Custom (config.toml) for this configuration. In 26.810.41047, only the built-in options remain. Although the configuration is effectively equivalent to Full access, the UI no longer indicates that permissions came from config.toml or provides a way to select the configuration-defined mode again.
In the comparison screenshot where Full access is shown, it was selected manually; the issue is the missing Custom (config.toml) option.
Resolution: migrating from the legacy sandbox setting to the current built-in permission profile restored the Desktop UI option after restarting the app.
I removed sandbox_mode = "danger-full-access" (the current configuration reference says not to combine it with default_permissions) and retained [windows] sandbox = "elevated" plus the trusted project setting. After the restart, “Do anything” was selectable again.
This looks like the Desktop selector recognises the new default_permissions profile but not the legacy sandbox_mode form.
CLIIssues related to the Codex CLIappIssues related to the Codex desktop appbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatesextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxing
Activity
github-actions commentedon Aug 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
dickymoore commentedon Aug 20, 2026
Resolution: migrating from the legacy sandbox setting to the current built-in permission profile restored the Desktop UI option after restarting the app.
I removed
sandbox_mode = "danger-full-access"(the current configuration reference says not to combine it withdefault_permissions) and retained[windows] sandbox = "elevated"plus the trusted project setting. After the restart, “Do anything” was selectable again.This looks like the Desktop selector recognises the new
default_permissionsprofile but not the legacysandbox_modeform.