fix: fill resourceowner of project into usergrant projection (#7605)

This commit is contained in:
Stefan Benz
2024-03-21 10:31:06 +00:00
committed by GitHub
parent 319ebe7898
commit 517398bba6
4 changed files with 55 additions and 54 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ metadata as (
-- get all user grants, needed for the orgs query
user_grants as (
select id, grant_id, state, creation_date, change_date, sequence, user_id, roles, resource_owner, project_id
from projections.user_grants4
from projections.user_grants5
where user_id = $1
and instance_id = $2
and project_id = any($3)