Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Upgrade Assistant] Add permissions check for logs step #111978

Closed
alisonelizabeth opened this issue Sep 13, 2021 · 1 comment
Closed

[Upgrade Assistant] Add permissions check for logs step #111978

alisonelizabeth opened this issue Sep 13, 2021 · 1 comment
Assignees
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

Comments

@alisonelizabeth
Copy link
Contributor

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 a superuser, 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.

@alisonelizabeth alisonelizabeth added enhancement New value added to drive a business result Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Upgrade Assistant labels Sep 13, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants