We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964b730 commit 408f623Copy full SHA for 408f623
app/controlplane/internal/server/grpc.go
@@ -245,9 +245,9 @@ func requireRobotAccountMatcher() selector.MatchFunc {
245
246
// Matches all operations that require to have a current organization
247
func requireAllButOrganizationOperationsMatcher() selector.MatchFunc {
248
- const skipMatcher = "/controlplane.v1.OrganizationService/Create"
+ const skipRegexp = "/controlplane.v1.OrganizationService/Create|/controlplane.v1.UserService/ListMemberships"
249
return func(ctx context.Context, operation string) bool {
250
- r := regexp.MustCompile(skipMatcher)
+ r := regexp.MustCompile(skipRegexp)
251
return !r.MatchString(operation)
252
}
253
0 commit comments