mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
rename graph actions
Original commit: elastic/x-pack-elasticsearch@70a71d6bd6
This commit is contained in:
parent
135742823e
commit
cf0fd986e1
@ -24,7 +24,7 @@ public class GraphWithShieldInsufficientRoleIT extends GraphWithShieldIT {
|
||||
super.test();
|
||||
fail();
|
||||
} catch(AssertionError ae) {
|
||||
assertThat(ae.getMessage(), containsString("action [indices:data/read/graph/explore"));
|
||||
assertThat(ae.getMessage(), containsString("action [indices:data/read/xpack/graph/explore"));
|
||||
assertThat(ae.getMessage(), containsString("returned [403 Forbidden]"));
|
||||
assertThat(ae.getMessage(), containsString("is unauthorized for user [no_graph_explorer]"));
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ public class GraphExploreAction extends Action<GraphExploreRequest, GraphExplore
|
||||
GraphExploreRequestBuilder> {
|
||||
|
||||
public static final GraphExploreAction INSTANCE = new GraphExploreAction();
|
||||
public static final String NAME = "indices:data/read/graph/explore";
|
||||
public static final String NAME = "indices:data/read/xpack/graph/explore";
|
||||
|
||||
private GraphExploreAction() {
|
||||
super(NAME);
|
||||
|
@ -54,7 +54,7 @@ indices:monitor/upgrade
|
||||
indices:data/read/explain
|
||||
indices:data/read/field_stats
|
||||
indices:data/read/get
|
||||
indices:data/read/graph/explore
|
||||
indices:data/read/xpack/graph/explore
|
||||
indices:data/read/mget
|
||||
indices:data/read/mpercolate
|
||||
indices:data/read/msearch
|
||||
|
@ -36,7 +36,7 @@ indices:admin/validate/query[s]
|
||||
indices:data/read/explain[s]
|
||||
indices:data/read/field_stats[s]
|
||||
indices:data/read/get[s]
|
||||
indices:data/read/graph/explore
|
||||
indices:data/read/xpack/graph/explore
|
||||
indices:data/read/mget[shard][s]
|
||||
indices:data/read/mpercolate[shard][s]
|
||||
indices:data/read/mtv[shard][s]
|
||||
|
Loading…
x
Reference in New Issue
Block a user