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

[One Discover] Handle missing privileges for creating alerts and SLOs #177067

Open
gbamparop opened this issue Feb 15, 2024 · 4 comments
Open

[One Discover] Handle missing privileges for creating alerts and SLOs #177067

gbamparop opened this issue Feb 15, 2024 · 4 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:obs-ux-logs Observability Logs User Experience Team

Comments

@gbamparop
Copy link
Contributor

gbamparop commented Feb 15, 2024

📓 Summary

When users lack certain privileges that would enable them to create alerts and SLOs, the action menu item for alerts is still displayed in Discover's header, however, submitting the creation forms in the flyouts results in errors.

When the Management -> Rules Settings -> All Kibana privilege is not set, the action menu item for alerts is not displayed but this privilege is not enough to create the rules provided.

The required privileges should also be documented and referenced from the relevant product docs.

Classic navigation

Screen.Recording.2025-02-19.at.11.30.53.mov

Observability

Screen.Recording.2025-02-19.at.11.16.32.mov

Steps to recreate

  • Create a Kibana role with the following Kibana privileges and assign it to a test user:
    • Analytics -> Discover -> All
    • Management -> Rules Settings -> All
  • Navigate to Discover with the test user and try to create an alert or SLO from the Alerts header item
@gbamparop gbamparop added Team:obs-ux-logs Observability Logs User Experience Team Feature:LogsExplorer Logs Explorer feature labels Feb 15, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@tonyghiani
Copy link
Contributor

@isaclfreire as spoken offline, this might be a good time to also integrate these ux scenarios with the new selector design.

@gbamparop gbamparop added Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Feature:LogsExplorer Logs Explorer feature labels Feb 19, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@gbamparop gbamparop added the bug Fixes for quality problems that affect the customer experience label Feb 19, 2025
@gbamparop gbamparop changed the title [Logs Explorer] Add curated messages for missing privileges [One Discover] Handle missing privileges for creating alerts and SLOs Feb 19, 2025
@gbamparop
Copy link
Contributor Author

Updated the description as the data source selector is removed with Logs Explorer, but handling missing privileges for alerts and SLOs is still applicable in Discover.

@gbamparop gbamparop added the Feature:Discover Discover Application label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

3 participants