Skip to content

Commit 0e1e48d

Browse files
authored
Merge pull request #647 from rushtehrani/master
fix: Use correct group for workspaces resource
2 parents 03f8f47 + dd0f1f7 commit 0e1e48d

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)