Skip to content

Commit

Permalink
Adds the newly created admin api permissions to the static dropdown l…
Browse files Browse the repository at this point in the history
…ist (#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 <dchanp@amazon.com>
Co-authored-by: Ryan Liang <109499885+RyanL1997@users.noreply.github.com>
(cherry picked from commit e6c63ff)
  • Loading branch information
DarshitChanpura authored and github-actions[bot] committed May 30, 2023
1 parent db8a883 commit b6d3e41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public/apps/configuration/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[]) {
Expand Down

0 comments on commit b6d3e41

Please sign in to comment.