From 6de79305590ce4db694e10d2d1de12a5ef4defa1 Mon Sep 17 00:00:00 2001 From: Yaliang Wu Date: Wed, 2 Nov 2022 17:09:14 -0700 Subject: [PATCH] configure new ML plugin actions Signed-off-by: Yaliang Wu --- public/apps/configuration/constants.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/apps/configuration/constants.tsx b/public/apps/configuration/constants.tsx index a61a467f7..e9c6230ac 100644 --- a/public/apps/configuration/constants.tsx +++ b/public/apps/configuration/constants.tsx @@ -106,17 +106,24 @@ export const CLUSTER_PERMISSIONS: string[] = [ 'cluster:admin/opendistro/reports/instance/list', 'cluster:admin/opendistro/reports/instance/get', 'cluster:admin/opendistro/reports/menu/download', + 'cluster:admin/opensearch/ml/create_model_meta', 'cluster:admin/opensearch/ml/execute', + 'cluster:admin/opensearch/ml/load_model', + 'cluster:admin/opensearch/ml/load_model_on_nodes', 'cluster:admin/opensearch/ml/models/delete', 'cluster:admin/opensearch/ml/models/get', 'cluster:admin/opensearch/ml/models/search', 'cluster:admin/opensearch/ml/predict', + 'cluster:admin/opensearch/ml/profile/nodes', 'cluster:admin/opensearch/ml/stats/nodes', 'cluster:admin/opensearch/ml/tasks/delete', 'cluster:admin/opensearch/ml/tasks/get', 'cluster:admin/opensearch/ml/tasks/search', 'cluster:admin/opensearch/ml/train', 'cluster:admin/opensearch/ml/trainAndPredict', + 'cluster:admin/opensearch/ml/unload_model', + 'cluster:admin/opensearch/ml/upload_model', + 'cluster:admin/opensearch/ml/upload_model_chunk', 'cluster:admin/opensearch/observability/create', 'cluster:admin/opensearch/observability/delete', 'cluster:admin/opensearch/observability/get',