Skip to content

[web] Auto-approve permissions setting in Settings UI does not respond when clicked/tapped #49721

Closed as not planned

Description

@hibikiwtnb

Description

In the opencode web UI, the auto-approve / auto-accept permissions setting in the Settings page cannot be enabled. Clicking/tapping the toggle produces no response, and the setting never turns on, so every permission request still has to be approved manually.

Environment

  • opencode version: 1.18.14
  • Interface: opencode web (opencode web)
  • Client: web browser (the issue is not platform-specific; it reproduces on desktop and mobile)
  • Host: Linux (Ubuntu, kernel 6.8.0-139-generic)

Steps to reproduce

  1. Start opencode web and open it in a browser.
  2. Open Settings.
  3. Find the auto-approve / auto-accept permissions option.
  4. Click/tap it.

Expected

The toggle switches on and permission requests are auto-approved (with the corresponding "Auto-accepting permissions" state/toast).

Actual

Nothing happens on click/tap. The value does not change, no toast appears, and permission requests continue to require manual approval.

Impact

High: users cannot enable auto-approve from the web UI, forcing manual approval of every tool permission request.

Additional context

  • Confirmed on 1.18.14.
  • The underlying setting key is permissions.autoApprove (setAutoApprove), with corresponding strings toast.permissions.autoaccept.on/off and command.permissions.autoaccept.enable/disable. The UI control appears not to update/commit the value when interacted with in the web client.

Activity

  1. MykolaBiron commented on Sep 18, 2026

    @MykolaBiron

    I'd like to work on this, will look into the auto-approve toggle handler and open a PR.

  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions