Skip to content

Commit

Permalink
fix deletion of role assignments being done without the user: prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
omer9564 committed Oct 29, 2024
1 parent 013a2cb commit e9f34be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horizon/data_manager/update_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _get_operations_for_update_role_assigment(
yield DeleteOperation(
fact=Fact(
type="role_assignments",
attributes={"actor": user_key},
attributes={"actor": f"user:{user_key}"},
),
)
for subject, roles in data.items():
Expand Down

0 comments on commit e9f34be

Please sign in to comment.