Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ static RoleDescriptor kibanaSystem(String name) {
TransportUpdateSettingsAction.TYPE.name(),
TransportPutMappingAction.TYPE.name(),
RolloverAction.NAME,
"indices:admin/data_stream/lifecycle/put"
"indices:admin/data_stream/lifecycle/put",
"indices:admin/forcemerge"
)
.build(),
// Endpoint specific action responses. Kibana reads and writes (for third party
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,10 @@ public void testKibanaSystemRole() {
kibanaRole.indices().allowedIndicesMatcher("indices:admin/data_stream/lifecycle/put").test(indexAbstraction),
is(true)
);
assertThat(
kibanaRole.indices().allowedIndicesMatcher("indices:admin/forcemerge").test(indexAbstraction),
is(true)
);

// Implied by the overall view_index_metadata and monitor privilege
assertViewIndexMetadata(kibanaRole, indexName);
Expand Down