perf: user grant owner removed (#6962)

* fix: change logic for usergrants projection with no selects

* fix: change logic for usergrants projection with one select

* fix: move resource owner select to single function

* fix: move resource owner select to single function

* fix: changes after merge

* fix: changes after merge

---------

Co-authored-by: Tim Möhlmann <[email protected]>
This commit is contained in:
Stefan Benz
2024-01-08 15:26:30 +00:00
committed by GitHub
co-authored by Tim Möhlmann
parent e9cb1b90aa
commit e769b163ef
22 changed files with 488 additions and 210 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ func (p *Storage) getGrants(ctx context.Context, userID, applicationID string) (
projectQuery,
userIDQuery,
},
}, true, false)
}, true)
}
type customAttribute struct {