[Index management] Make UI resilient to failing _cat/aliases call #46126
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Index Management
Index and index templates UI
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
In order to build the table of indices in Index Management, we make 2 requests to Elasticsearch
But there is a bug in ES (elastic/elasticsearch#46856) that requires the
manage
privilege on all indices ("*"
) in order to execute the_cat/aliases
. Otherwise it throws the following errorThis means that, if a user does not have that privilege, the table does not render any indices and the following toast message is displayed
As displaying the aliases information is an enrichment of the index data, we should make our UI resilient to the fact that aliases haven't been fetched.
And then update the UI accordingly to display or not the aliases information.
The text was updated successfully, but these errors were encountered: