From 695b3e1e9d990a1465523bfc5df1838aeea84f56 Mon Sep 17 00:00:00 2001 From: Vamsi Manohar Date: Mon, 23 Oct 2023 18:59:46 -0700 Subject: [PATCH] Add permissions for async query and patch datasource API (#1626) Signed-off-by: Vamsi Manohar (cherry picked from commit c7846651e79ecfcbf6fbcfbb577948da52f44126) --- 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',