Custom (config.toml) option disappears for never + danger-full-access

Open 💬 2 comments Opened Aug 14, 2026 by heyarny
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What issue are you seeing?

The Custom (config.toml) permission option disappears when config.toml contains:

approval_policy = "never"
sandbox_mode = "danger-full-access"

This affects the ChatGPT Desktop app, Codex VS Code extension, and Codex CLI.

What steps can reproduce the bug?

  1. Set the configuration above.
  2. Open the permission selector.
  3. 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.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 14 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #37437

Powered by Codex Action

dickymoore · 8 days ago

Resolution: migrating from the legacy sandbox setting to the current built-in permission profile restored the Desktop UI option after restarting the app.

approval_policy = "never"
default_permissions = ":danger-full-access"

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.