mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Only show the UserManagement tab in the sidebar if the sub menus are allowed for that cluster (#2258)
- Optimize Cluster.isAllowedResource Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
c0dddc0f40
commit
47e5cb1732
5 files changed
+71
-41
No files matched your search
@@ -26,4 +26,9 @@ export const ResourceNames: Record<KubeResource, string> = {
|
||||
"podsecuritypolicies": "Pod Security Policies",
|
||||
"poddisruptionbudgets": "Pod Disruption Budgets",
|
||||
"limitranges": "Limit Ranges",
|
||||
"roles": "Roles",
|
||||
"rolebindings": "Role Bindings",
|
||||
"clusterrolebindings": "Cluster Role Bindings",
|
||||
"clusterroles": "Cluster Roles",
|
||||
"serviceaccounts": "Service Accounts"
|
||||
};
|
||||
Reference in new issue
Block a user