fix: Project grant fix (#2529)

* feat: add project resource owner serch query

* fix: project grant cascade changed reduce

* fix: add project removed tests
This commit is contained in:
Fabi
2021-10-19 10:38:21 +02:00
committed by GitHub
parent 1c26587a05
commit 48135daa84
3 changed files with 86 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ func (p *ProjectGrantProjection) reduceProjectGrantCascadeChanged(event eventsto
[]handler.Column{
handler.NewCol(ProjectGrantColumnChangeDate, e.CreationDate()),
handler.NewCol(ProjectGrantColumnSequence, e.Sequence()),
handler.NewCol(ProjectGrantColumnRoleKeys, e.RoleKeys),
handler.NewCol(ProjectGrantColumnRoleKeys, pq.StringArray(e.RoleKeys)),
},
[]handler.Condition{
handler.NewCond(ProjectGrantColumnGrantID, e.GrantID),