Skip to content

Redefining permission in subagents stopped working #27497

@igovet

Description

@igovet

Description

The issue affects version 1.14.50 and several versions before it.
In version 1.14.17 everything works correctly.

This inheritance behavior was changed in your code but not updated in the documentation, either you update the documentation, or don’t do something that breaks the entire logic of permissions.

Plugins

No response

OpenCode version

1.14.50

Steps to reproduce

  1. In the orchestrator (primary agent) set edit: deny, and in the subagent set edit: allow.
  2. As a result, the subagent now inherits edit: deny despite the fact that edit: allow is specified.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions