Skip to content

[BUG] permission: "allow" and permission.* = "allow" still trigger approval prompts #28482

Closed as not planned

Description

@luftwaffe66

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Even when permissions are fully set to "allow" in opencode.json, OpenCode still asks for confirmation before editing, deleting, or executing commands.

Example config:

{
  "$schema": "https://opencode.ai/config.json",
  "permission": {
    "*": "allow",
    "edit": "allow",
    "bash": "allow",
    "read": "allow",
    "webfetch": "allow"
  }
}

Expected behavior

When permissions are set to "allow", OpenCode should execute actions without asking for confirmation.

Actual behavior

OpenCode still shows approval prompts for:

editing files
deleting files
overwriting files
running bash commands
Environment

OpenCode version: latest

OS: Linux
Installed via: npm

This seems inconsistent with the permissions documentation.

Activity

  1. github-actions commented on May 20, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct (e.g., you've confirmed the above issues don't cover your scenario), please clarify what makes it different.

  2. strk commented on Jun 16, 2026

    @strk

    I'm having this exact problem of wildcard still triggering approval with OpenCode 1.17.7

  3. github-actions commented on Aug 16, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

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