From 44097013daf9344897df52edee72a42640c652e3 Mon Sep 17 00:00:00 2001 From: zane-neo Date: Mon, 10 Jul 2023 13:24:32 +0800 Subject: [PATCH] Add readonly API to security plugin (#2966) * Add readonly API to security plugin Signed-off-by: zane-neo * Change the order of permission list Signed-off-by: zane-neo --------- Signed-off-by: zane-neo --- config/roles.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/roles.yml b/config/roles.yml index 05bdb6569b..3814a4fad4 100644 --- a/config/roles.yml +++ b/config/roles.yml @@ -257,6 +257,8 @@ cross_cluster_search_remote_full_access: ml_read_access: reserved: true cluster_permissions: + - 'cluster:admin/opensearch/ml/connectors/get' + - 'cluster:admin/opensearch/ml/connectors/search' - 'cluster:admin/opensearch/ml/model_groups/search' - 'cluster:admin/opensearch/ml/models/get' - 'cluster:admin/opensearch/ml/models/search'