Skip to content

Commit

Permalink
fixing action name
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke committed Nov 6, 2023
1 parent c960c3c commit 3e3a426
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class SimulateBulkAction extends ActionType<BulkResponse> {

public static final SimulateBulkAction INSTANCE = new SimulateBulkAction();
public static final String NAME = "indices:data/simulate/bulk";
public static final String NAME = "indices:data/write/simulate/bulk";

private SimulateBulkAction() {
super(NAME, BulkResponse::new);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ public final class IndexPrivilege extends Privilege {
"indices:data/write/index[*",
"indices:data/write/index:op_type/create",
"indices:data/write/bulk*",
"indices:data/simulate/bulk*"
"indices:data/write/simulate/bulk*"
);
private static final Automaton INDEX_AUTOMATON = patterns(
"indices:data/write/index*",
"indices:data/write/bulk*",
"indices:data/write/update*",
"indices:data/simulate/bulk*"
"indices:data/write/simulate/bulk*"
);
private static final Automaton DELETE_AUTOMATON = patterns("indices:data/write/delete*", "indices:data/write/bulk*");
private static final Automaton WRITE_AUTOMATON = patterns("indices:data/write/*", AutoPutMappingAction.NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public class Constants {
"indices:data/read/xpack/rollup/get/index/caps",
"indices:data/read/xpack/rollup/search",
"indices:data/read/xpack/termsenum/list",
"indices:data/simulate/bulk",
"indices:data/write/simulate/bulk",
"indices:data/write/bulk",
"indices:data/write/bulk[s]",
"indices:data/write/bulk_shard_operations[s]",
Expand Down

0 comments on commit 3e3a426

Please sign in to comment.