Skip to content

fix(keycloak): add missing Dag resource to Op-team permission - #71320

Open
waterWang wants to merge 1 commit into
apache:mainfrom
waterWang:fix/keycloak-op-team-dag-resource
Open

fix(keycloak): add missing Dag resource to Op-team permission#71320
waterWang wants to merge 1 commit into
apache:mainfrom
waterWang:fix/keycloak-op-team-dag-resource

Conversation

@waterWang

Copy link
Copy Markdown

fix(keycloak): add missing Dag resource to Op-team permission

The Op-{team} permission created by the create-team command was missing
the Dag:{team} resource. This caused users with the Op role to not
receive the expected permission for the team's DAG resource.

The fix adds Dag:{team} to the Op-{team} permission resources in two
places:

  1. _get_permissions_to_create() — the initial permission creation
  2. _attach_team_permissions() — the policy attachment for create-team

Fixes #71319

The Op-{team} permission created by the create-team command was missing
the Dag:{team} resource. This caused users with the Op role to not
receive the expected permission for the team's DAG resource.

The fix adds Dag:{team} to the Op-{team} permission resources in two
places:
1. _get_permissions_to_create() — the initial permission creation
2. _attach_team_permissions() — the policy attachment for create-team

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keycloak team Op permission is missing team DAG resource

1 participant