mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 05:52:13 +00:00
only update wrong grants
This commit is contained in:
@@ -283,6 +283,7 @@ func (p *projectGrantProjection) reduceOwnerCorrected(event eventstore.Event) (*
|
||||
[]handler.Condition{
|
||||
handler.NewCond(ProjectGrantColumnInstanceID, event.Aggregate().InstanceID),
|
||||
handler.NewCond(ProjectGrantColumnProjectID, event.Aggregate().ID),
|
||||
handler.NewUnequalCond(ProjectGrantColumnResourceOwner, event.Aggregate().ResourceOwner),
|
||||
},
|
||||
), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user