Skip to content

Commit

Permalink
Fix MANAGE_IDX_TEMPLATE privilege to allow component_template/* (#6…
Browse files Browse the repository at this point in the history
…6514) (#66579)

(cherry picked from commit bcc28e0)
Signed-off-by: Andrei Dan <[email protected]>
  • Loading branch information
andreidan authored Dec 18, 2020
1 parent 28bafac commit 09350f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class ClusterPrivilegeResolver {
private static final Set<String> TRANSPORT_CLIENT_PATTERN = Collections.unmodifiableSet(
Sets.newHashSet("cluster:monitor/nodes/liveness", "cluster:monitor/state"));
private static final Set<String> MANAGE_IDX_TEMPLATE_PATTERN = Collections.unmodifiableSet(Sets.newHashSet("indices:admin/template/*",
"indices:admin/index_template/*"));
"indices:admin/index_template/*", "cluster:admin/component_template/*"));
private static final Set<String> MANAGE_INGEST_PIPELINE_PATTERN = Collections.singleton("cluster:admin/ingest/pipeline/*");
private static final Set<String> READ_PIPELINE_PATTERN = Collections.unmodifiableSet(Sets.newHashSet(GetPipelineAction.NAME,
SimulatePipelineAction.NAME));
Expand Down

0 comments on commit 09350f6

Please sign in to comment.