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:
uboness 2014-08-27 12:28:51 -07:00
parent b887fad51a
commit fcd3a89a3d
1 changed files with 0 additions and 4 deletions

View File

@ -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));
}
}