Skip to content

Commit a8c5bd7

Browse files
authored
Fixed proxy facts create resource role assignment (#250)
1 parent dfba123 commit a8c5bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

horizon/facts/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def create_role_assignment_data_entries(request: FastApiRequest, body: dict[str,
157157
yield create_data_source_entry(
158158
obj_type="role_assignments",
159159
obj_id=body["user_id"],
160-
obj_key=body["user"],
160+
obj_key=f"user:{body['user']}",
161161
authorization_header=request.headers.get("Authorization"),
162162
)
163163

0 commit comments

Comments
 (0)