[APM] Error when viewing the Infrastructure tab without access to Infrastructure app #191198
Labels
bug
Fixes for quality problems that affect the customer experience
RBAC
Role Based Access Control
stale
Used to mark issues that were closed for being stale
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Summary
If a user does not have Infrastructure privilege or elasticsearch privilege for related indices they cannot access Infrastructure data, resulting in an error.
Steps to reproduce
Possible solution
We could show the Infrastructure tab only if
application.uiCapabilities.infrastructure.show
istrue
or display a message saying that the user doesn't have permission if the same condition is not met, eg:Because roles could also be configured such that users could have permission to Infrastructure but not to read Infrastructure indices, we also need to check on the server side, before running the query, whether the current user has permission to read from Infrastructure indices (see an example here)
The text was updated successfully, but these errors were encountered: