Skip to content

Commit bcc28e0

Browse files
authored
Fix MANAGE_IDX_TEMPLATE privilege to allow component_template/* (#66514)
1 parent 1902ad2 commit bcc28e0

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
@@ -72,7 +72,7 @@ public class ClusterPrivilegeResolver {
7272
private static final Set<String> TRANSPORT_CLIENT_PATTERN = Collections.unmodifiableSet(
7373
Sets.newHashSet("cluster:monitor/nodes/liveness", "cluster:monitor/state"));
7474
private static final Set<String> MANAGE_IDX_TEMPLATE_PATTERN = Collections.unmodifiableSet(Sets.newHashSet("indices:admin/template/*",
75-
"indices:admin/index_template/*"));
75+
"indices:admin/index_template/*", "cluster:admin/component_template/*"));
7676
private static final Set<String> MANAGE_INGEST_PIPELINE_PATTERN = Collections.singleton("cluster:admin/ingest/pipeline/*");
7777
private static final Set<String> READ_PIPELINE_PATTERN = Collections.unmodifiableSet(Sets.newHashSet(GetPipelineAction.NAME,
7878
SimulatePipelineAction.NAME));

0 commit comments

Comments
 (0)