Skip to content

Commit a9c1c72

Browse files
committed
fix: k8s client rbac
1 parent 7f877f4 commit a9c1c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ const ClusterList = () => {
240240
const isClusterEnvListLoading = clusterListLoading || envListLoading
241241

242242
// Early return for non super admin users
243-
if (!isSuperAdmin) {
243+
if (!isK8sClient && !isSuperAdmin) {
244244
return <ErrorScreenNotAuthorized />
245245
}
246246

0 commit comments

Comments
 (0)