From d5a6626b913c7ec784c0f19cfde528b9a91445ed Mon Sep 17 00:00:00 2001 From: Michael Froh Date: Tue, 21 Nov 2023 16:53:46 +0000 Subject: [PATCH] Add search pipeline action permissions (#1661) Search pipelines have been generally available since OpenSearch 2.9. We should make it easy to manage permissions for search pipeline CRUD operations. Signed-off-by: Michael Froh --- public/apps/configuration/constants.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/apps/configuration/constants.tsx b/public/apps/configuration/constants.tsx index 4dd107a91..84d3fb75a 100644 --- a/public/apps/configuration/constants.tsx +++ b/public/apps/configuration/constants.tsx @@ -182,6 +182,9 @@ export const CLUSTER_PERMISSIONS: string[] = [ 'cluster:admin/script/put', 'cluster:admin/script_context/get', 'cluster:admin/script_language/get', + 'cluster:admin/search/pipeline/delete', + 'cluster:admin/search/pipeline/get', + 'cluster:admin/search/pipeline/put', 'cluster:admin/settings/update', 'cluster:admin/snapshot/create', 'cluster:admin/snapshot/clone',