[Upgrade Assistant] Add permissions check for logs step #111978
Labels
enhancement
New value added to drive a business result
Feature:Upgrade Assistant
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
The deprecations logs step in Upgrade Assistant requires users to have read access to
.logs-deprecation.elasticsearch-default
. While users using Upgrade Assistant will likely be asuperuser
, we should still add support to degrade gracefully in the case where someone who doesn't have the required index privileges tries to access UA.I imagine we would show a warning callout under the logs step in the case where a user has insufficient privileges.
For inspiration, you can take a look at Snapshot & Restore, which checks for index privileges before rendering the "Restore" list. It uses the authorization utils from es_ui_shared.
The text was updated successfully, but these errors were encountered: