elastic / kibana

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

[Home] Disable sample data actions for non-privileged users #138547

Open rashmivkulkarni opened 2 years ago

rashmivkulkarni commented 2 years ago

Kibana version: 8.4.0

Add Data button should be disabled for users with limited privileges ( kibana_user) for Sample Data- flight data and web logs.

Created a user with a kibana_user role( very limited and deprecated) . Logged in with this user, and navigated to Home > Add Data. Saw that one of the data set- ( eCommerce Data set is disabled ) while other two are enabled ( flight data and web logs)

elasticmachine commented 2 years ago

Pinging @elastic/kibana-core (Team:Core)

rashmivkulkarni commented 2 years ago

similar to https://github.com/elastic/kibana/issues/21668

vadimkibana commented 1 year ago

Just a thought: should not just the button be disabled for users with limited privileges but the whole "Other sample data sets" accordion section?

vadimkibana commented 1 year ago

Related https://github.com/elastic/kibana/issues/106569

vadimkibana commented 1 year ago

Related https://github.com/elastic/kibana/issues/100628

paulinashakirova commented 3 weeks ago

There is a draft PR with a detailed comment from @Dosant on what exactly needs to be investigated further, in order to fix it the best way possible.