diff --git a/internal/auth/repository/eventsourcing/eventstore/user_grant.go b/internal/auth/repository/eventsourcing/eventstore/user_grant.go index d0b5eb66b..078321f60 100644 --- a/internal/auth/repository/eventsourcing/eventstore/user_grant.go +++ b/internal/auth/repository/eventsourcing/eventstore/user_grant.go @@ -104,8 +104,8 @@ func (repo *UserGrantRepo) SearchMyZitadelPermissions(ctx context.Context) ([]st }, { Key: user_model.UserMembershipSearchKeyResourceOwner, - Method: global_model.SearchMethodEquals, - Value: ctxData.OrgID, + Method: global_model.SearchMethodIsOneOf, + Value: []string{repo.IamID, ctxData.OrgID}, }, }, })