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 (opensearch-project#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 <[email protected]>
Co-authored-by: Ryan Liang <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
  • Loading branch information
2 people authored and leanneeliatra committed Jun 12, 2023
1 parent 5ee51fd commit 69f6196
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 69f6196

Please sign in to comment.