Skip to content

Commit

Permalink
Add RESTAPI permissions and ISM control center permissions to dropdown (
Browse files Browse the repository at this point in the history
  • Loading branch information
cwperks authored Jun 16, 2023
1 parent de3817d commit adf06a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions public/apps/configuration/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export const CLUSTER_PERMISSIONS: string[] = [
'cluster:admin/opendistro/ism/policy/get',
'cluster:admin/opendistro/ism/policy/search',
'cluster:admin/opendistro/ism/policy/delete',
'cluster:admin/opensearch/controlcenter/lron/get',
'cluster:admin/opensearch/controlcenter/lron/delete',
'cluster:admin/opensearch/controlcenter/lron/write',
'cluster:admin/opensearch/notifications/channels/get',
'cluster:admin/opensearch/notifications/configs/create',
'cluster:admin/opensearch/notifications/configs/delete',
Expand Down Expand Up @@ -201,6 +204,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 adf06a4

Please sign in to comment.