Skip to content

RBAC Granular DAG Permissions don't work as intended #13891

@davido912

Description

@davido912

Previous versions (before 2.0) allowed for granular can_edit DAG permissions so that different user groups can trigger different DAGs and access control is more specific. Since 2.0 it seems that this does not work as expected.

How to reproduce:
Create a copy of the VIEWER role, try adding it can dag edit on a specific DAG. Expected Result: user can trigger said DAG. Actual Result: user access is denied.

It seems to be a new parameter was added: can create on DAG runs and without it the user cannot run DAGs, however, with it, the user can run all DAGs without limitations and I believe this is an unintended use.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions