We've decided that for now (phase1) index template APIs will be under cluster management privilege
Original commit: elastic/x-pack-elasticsearch@390d55e859
This commit is contained in:
parent
b887fad51a
commit
fcd3a89a3d
|
@ -147,8 +147,4 @@ public class PrivilegeTests extends ElasticsearchTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
@Test @LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elasticsearch/elasticsearch-shield/issues/22")
|
||||
public void testIndexTemplateApiIsNotPartOfClusterPrivileg() throws Exception {
|
||||
assertThat(Privilege.Cluster.ALL.predicate().apply("indices:admin/template/get"), is(false));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue