Skip to content

[Logs UI] Guard links to user management according to user privileges #79264

@weltenwort

Description

@weltenwort

Summary

The "Anomalies" and "Categories" tabs link to the user management section if ML privileges are missing. After #67791 these links are broken if the user doesn't have user management privileges.

Background

The informational message shown on the "Anomalies" and "Categories" tabs unconditionally links to the user management section. This worked in the past because the user management was always present and showed a "missing privileges" message itself when navigated to. This has changed recently such that the user management section is not shown at all when the user is missing the appropriate privileges.

Acceptance criteria

  • The links from the "Anomalies" and "Categories" tabs' "missing ML privileges" screen to the user management section are only active when the user can actually see the user management section in the stack management UI.

Related links

Metadata

Metadata

Assignees

Labels

Feature:Logs UILogs UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesbugFixes for quality problems that affect the customer experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions