mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:27:32 +00:00
fix: get iam permissions (#713)
This commit is contained in:
@@ -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},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user