Skip to content

Commit 2620725

Browse files
authored
Fix MANAGE_IDX_TEMPLATE privilege to allow component_template/* (#66514) (#66581)
(cherry picked from commit bcc28e0) Signed-off-by: Andrei Dan <[email protected]>
1 parent 480561d commit 2620725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/ClusterPrivilegeResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class ClusterPrivilegeResolver {
6969
private static final Set<String> TRANSPORT_CLIENT_PATTERN = Collections.unmodifiableSet(
7070
Sets.newHashSet("cluster:monitor/nodes/liveness", "cluster:monitor/state"));
7171
private static final Set<String> MANAGE_IDX_TEMPLATE_PATTERN = Collections.unmodifiableSet(Sets.newHashSet("indices:admin/template/*",
72-
"indices:admin/index_template/*"));
72+
"indices:admin/index_template/*", "cluster:admin/component_template/*"));
7373
private static final Set<String> MANAGE_INGEST_PIPELINE_PATTERN = Collections.singleton("cluster:admin/ingest/pipeline/*");
7474
private static final Set<String> MANAGE_ROLLUP_PATTERN = Collections.unmodifiableSet(
7575
Sets.newHashSet("cluster:admin/xpack/rollup/*", "cluster:monitor/xpack/rollup/*"));

0 commit comments

Comments
 (0)