mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 06:07:33 +00:00
fix: fill resourceowner of project into usergrant projection (#7605)
(cherry picked from commit 517398bba6
)
This commit is contained in:

committed by
Livio Spring

parent
0416153e8e
commit
8f3c91a393
@@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
UserGrantProjectionTable = "projections.user_grants4"
|
||||
UserGrantProjectionTable = "projections.user_grants5"
|
||||
|
||||
UserGrantID = "id"
|
||||
UserGrantCreationDate = "creation_date"
|
||||
@@ -445,7 +445,8 @@ func getResourceOwners(ctx context.Context, es handler.EventStore, instanceID, u
|
||||
EventData(map[string]interface{}{
|
||||
"grantId": grantID,
|
||||
})
|
||||
} else if projectID != "" {
|
||||
}
|
||||
if projectID != "" {
|
||||
builder = builder.Or().
|
||||
AggregateTypes(project.AggregateType).
|
||||
AggregateIDs(projectID).
|
||||
|
Reference in New Issue
Block a user