|
@@ -961,6 +961,10 @@ public class ReservedRolesStoreTests extends ESTestCase {
|
|
|
assertThat(kibanaRole.indices().allowedIndicesMatcher(UpdateSettingsAction.NAME).test(indexAbstraction), is(true));
|
|
|
assertThat(kibanaRole.indices().allowedIndicesMatcher(PutMappingAction.NAME).test(indexAbstraction), is(true));
|
|
|
assertThat(kibanaRole.indices().allowedIndicesMatcher(RolloverAction.NAME).test(indexAbstraction), is(true));
|
|
|
+ assertThat(
|
|
|
+ kibanaRole.indices().allowedIndicesMatcher("indices:admin/data_stream/lifecycle/put").test(indexAbstraction),
|
|
|
+ is(true)
|
|
|
+ );
|
|
|
|
|
|
// Implied by the overall view_index_metadata and monitor privilege
|
|
|
assertViewIndexMetadata(kibanaRole, indexName);
|