Skip to content

Commit dd0f1f7

Browse files
committed
use correct group for workspaces resource
1 parent 03f8f47 commit dd0f1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/workspace_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ func (s *WorkspaceServer) RetryLastWorkspaceAction(ctx context.Context, req *api
363363
func (s *WorkspaceServer) GetWorkspaceStatisticsForNamespace(ctx context.Context, req *api.GetWorkspaceStatisticsForNamespaceRequest) (*api.GetWorkspaceStatisticsForNamespaceResponse, error) {
364364
client := getClient(ctx)
365365

366-
allowed, err := auth.IsAuthorized(client, req.Namespace, "list", "argoproj.io", "workspaces", "")
366+
allowed, err := auth.IsAuthorized(client, req.Namespace, "list", "onepanel.io", "workspaces", "")
367367
if err != nil || !allowed {
368368
return nil, err
369369
}

0 commit comments

Comments
 (0)