From 69f619605d05e23850e4dfc84f531a6843b3952e Mon Sep 17 00:00:00 2001 From: Darshit Chanpura <35282393+DarshitChanpura@users.noreply.github.com> Date: Fri, 26 May 2023 14:26:22 -0400 Subject: [PATCH] Adds the newly created admin api permissions to the static dropdown list (#1426) * Adds the newly created admin api permissions to the static dropdown of permissions displayed when creating/modifying a role --------- Signed-off-by: Darshit Chanpura Co-authored-by: Ryan Liang <109499885+RyanL1997@users.noreply.github.com> Signed-off-by: leanneeliatra --- public/apps/configuration/constants.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/apps/configuration/constants.tsx b/public/apps/configuration/constants.tsx index 313b0f9e5..aed3887d5 100644 --- a/public/apps/configuration/constants.tsx +++ b/public/apps/configuration/constants.tsx @@ -201,6 +201,15 @@ export const CLUSTER_PERMISSIONS: string[] = [ 'cluster:monitor/task/get', 'cluster:monitor/tasks/list', 'cluster:monitor/tasks/list*', + 'restapi:admin/actiongroups', + 'restapi:admin/allowlist', + 'restapi:admin/internalusers', + 'restapi:admin/nodesdn', + 'restapi:admin/roles', + 'restapi:admin/rolesmapping', + 'restapi:admin/ssl/certs/info', + 'restapi:admin/ssl/certs/reload', + 'restapi:admin/tenants', ]; export function includeClusterPermissions(clusterPermissionsToInclude: string[]) {