elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.61k stars 8.22k forks source link

[APM] Error when creating service groups with insufficient privileges #191257

Open crespocarlos opened 2 months ago

crespocarlos commented 2 months ago

Summary

Service Group creation feature fails when done without saved objects edit permission

Image

Image

Other CRUD operations will also fail and should be properly handled.

Steps to reproduce

Stateful

Serverless

Possible solution

Do not show "Create group" button when capabilities.savedObjectsManagement.edit is false and provide a helpful message to users to contact an admin. The same should be done for update and delete operations.

elasticmachine commented 2 months ago

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