From ffc793f96d5fb4bf2a589ac0616e41254278c5fb Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 22:35:06 -0400 Subject: [PATCH] Add permissions for async query and patch datasource API (#1626) (#1631) Signed-off-by: Vamsi Manohar (cherry picked from commit c7846651e79ecfcbf6fbcfbb577948da52f44126) Co-authored-by: Vamsi Manohar --- public/apps/configuration/constants.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/apps/configuration/constants.tsx b/public/apps/configuration/constants.tsx index 25afa303e..e789591cd 100644 --- a/public/apps/configuration/constants.tsx +++ b/public/apps/configuration/constants.tsx @@ -138,6 +138,10 @@ export const CLUSTER_PERMISSIONS: string[] = [ 'cluster:admin/opensearch/ql/datasources/read', 'cluster:admin/opensearch/ql/datasources/update', 'cluster:admin/opensearch/ql/datasources/delete', + 'cluster:admin/opensearch/ql/datasources/patch', + 'cluster:admin/opensearch/ql/async_query/create', + 'cluster:admin/opensearch/ql/async_query/result', + 'cluster:admin/opensearch/ql/async_query/delete', 'cluster:admin/opensearch/ppl', 'cluster:admin/opensearch/ml/create_model_meta', 'cluster:admin/opensearch/ml/execute',