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

[Onboarding] Check for user privileges before creating an API key #192983

Open
gbamparop opened this issue Sep 16, 2024 · 2 comments
Open

[Onboarding] Check for user privileges before creating an API key #192983

gbamparop opened this issue Sep 16, 2024 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature: Observability Onboarding Team:obs-ux-logs Observability Logs User Experience Team

Comments

@gbamparop
Copy link
Contributor

📓 Summary

The API keys needed to configure the Elastic Agent and the OTel collector to ingest data into Elasticsearch are created automatically when users follow one of the quick-start onboarding flows. However, since they need at least the manage_own_api_key cluster privilege to create API keys, there can be cases when they don't have the privileges required which might result in an error that is propagated in the UI. Some onboarding flows handle this gracefully by displaying an appropriate message to users.

All onboarding flows should follow the same principle, first checking whether the necessary permissions are in place before creating API keys.

OpenTelemetry

Image

Auto-detection flow

Image

✔ Acceptance criteria

  • All onboarding flows should check whether users have adequate privileges before creating an API key
  • If certain privileges are missing, they will be displayed in the UI along with the message prompting users to get the required permissions
  • All onboarding flows should use the same UX and messaging in the above scenarios
@gbamparop gbamparop added bug Fixes for quality problems that affect the customer experience Feature: Observability Onboarding Team:obs-ux-logs Observability Logs User Experience Team labels Sep 16, 2024
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-onboarding-team (Feature: Observability Onboarding)

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: Observability Onboarding Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

2 participants