Skip to content

Commit

Permalink
Adding "read ingest pipeline" cluster privilege
Browse files Browse the repository at this point in the history
Fixing tests.

 Resolve elastic#48028
  • Loading branch information
BigPandaToo committed Dec 14, 2020
1 parent 0c793a9 commit 148e9c1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public void test() throws IOException {
assertThat(ae.getMessage(),
either(containsString("action [cluster:monitor/xpack/ml"))
.or(containsString("action [cluster:admin/xpack/ml"))
.or(containsString("action [cluster:admin/ingest")));
.or(containsString("action [cluster:admin/ingest"))
.or(containsString("action [cluster:monitor/ingest")));
assertThat(ae.getMessage(), containsString("returned [403 Forbidden]"));
assertThat(ae.getMessage(), containsString("is unauthorized for user [ml_user]"));
}
Expand Down

0 comments on commit 148e9c1

Please sign in to comment.