mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
fix: get iam permissions (#713)
This commit is contained in:
parent
afaf798940
commit
619d194044
@ -104,8 +104,8 @@ func (repo *UserGrantRepo) SearchMyZitadelPermissions(ctx context.Context) ([]st
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: user_model.UserMembershipSearchKeyResourceOwner,
|
Key: user_model.UserMembershipSearchKeyResourceOwner,
|
||||||
Method: global_model.SearchMethodEquals,
|
Method: global_model.SearchMethodIsOneOf,
|
||||||
Value: ctxData.OrgID,
|
Value: []string{repo.IamID, ctxData.OrgID},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user