elastic / kibana

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

[Infra] Error when saving a new Saved View without sufficient privileges #191173

Open crespocarlos opened 2 months ago

crespocarlos commented 2 months ago

Summary

When trying to save a view both on Inventory UI and Metrics UI using a user with limited privileges, the error below happens.

image

Another error happens happens when clicking the star icon

image

Steps to reproduce

Statefull

Serverless

Possible solution

We could hide Update and Save items from the popover as well as any actions in Manage saved View if capabilities.savedObjectsManagement.edit is false . Manage saved View it might also show a delete icon which should be hidden if capabilities.savedObjectsManagement.delete is false

elasticmachine commented 2 months ago

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

crespocarlos commented 2 months ago

cc @roshan-elastic

roshan-elastic commented 2 months ago

Prioritising as low as we're beginning work on a new inventory which will supersede this.