elastic / kibana

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

[Painless Lab] Privileges aware #104828

Open jloleysens opened 3 years ago

jloleysens commented 3 years ago

When using Dev Tools as a low-privilege user (only read and view_index_metadata privileges on ES) going to the Painless Lab presents the following:

Screenshot 2021-07-08 at 11 06 57

This does give users a way to figure out what the problem is - but making Painless lab UI "privileges aware" would guide users more quickly to the fact that they can't actually run the code before interacting with the UI further - perhaps a notification would be sufficient.

elasticmachine commented 3 years ago

Pinging @elastic/kibana-stack-management (Team:Stack Management)