Skip to content

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

Open

Description

@heyarny

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.

Activity

  1. added
    bug
    app
    extension
    CLI
    config
    sandbox
    on Aug 14, 2026
  2. github-actions commented on Aug 14, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. dickymoore commented on Aug 20, 2026

    @dickymoore

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIappbugconfigextensionsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions