From 1fb57f6181084fa89974fed26ce094bc1658c4d9 Mon Sep 17 00:00:00 2001
From: "opensearch-trigger-bot[bot]"
 <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Date: Tue, 21 Feb 2023 16:33:18 -0500
Subject: [PATCH] Add indices:admin/close* to list of permissible index
 permissions (#1323) (#1340)

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Co-authored-by: Peter Nied <petern@amazon.com>
(cherry picked from commit d5441b2af755806e175a2ed5aa136690e74ba07f)

Co-authored-by: Craig Perkins <cwperx@amazon.com>
---
 public/apps/configuration/constants.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/apps/configuration/constants.tsx b/public/apps/configuration/constants.tsx
index 0a61c151ed..55581d992a 100644
--- a/public/apps/configuration/constants.tsx
+++ b/public/apps/configuration/constants.tsx
@@ -184,6 +184,7 @@ export const INDEX_PERMISSIONS: string[] = [
   'indices:admin/analyze',
   'indices:admin/cache/clear',
   'indices:admin/close',
+  'indices:admin/close*',
   'indices:admin/create',
   'indices:admin/data_stream/create',
   'indices:admin/data_stream/delete',