Replace admin check with check for access

Signed-off-by: Adam Malcontenti-Wilson <adman.com@gmail.com>
This commit is contained in:
Adam Malcontenti-Wilson committed 2020-05-07 15:38:43 +10:00
1 parent 3a92e5d3ab
commit 47d43ddcef
9 files changed
+62 -58

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ export interface IConfig extends Partial<IClusterInfo> {
username?: string;
token?: string;
allowedNamespaces?: string[];
allowedResources?: string[];
isClusterAdmin?: boolean;
chartsEnabled: boolean;
kubectlAccess?: boolean; // User accessed via kubectl-lens plugin