elastic / kibana

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

Add data home needs to hide features hidden by feature control feature on a space #37655

Open bhavyarm opened 5 years ago

bhavyarm commented 5 years ago

Kibana version: 7.2.0 BC3

Elasticsearch version: 7.2.0 BC3

Server OS version: darwin_x86_64

Browser version: chrome latest

Browser OS version: OS X

Original install method (e.g. download page, yum, from source, etc.): from staging

Describe the bug: So add data home panels are displaying hidden features. This in turn taking the users to ugly UIs.

Steps to reproduce: Please note - this is a non default space

  1. Create space_a and disable canvas, maps and machine learning using feature controls
  2. Switch to that space_a
  3. Click on Kibana home and on a add data panel click on canvas, maps and machine learning

All the clicks take you to ugly links.

Maps:

maps

Canvas:

canvas

ML:

Screen Shot 2019-05-31 at 12 07 38 PM

cc @AlonaNadler

elasticmachine commented 5 years ago

Pinging @elastic/kibana-app

elasticmachine commented 5 years ago

Pinging @elastic/kibana-design

bhavyarm commented 5 years ago

Also referencing this comment. cc @legrego @ryankeairns : https://github.com/elastic/kibana/issues/34397#issuecomment-480892438

elasticmachine commented 5 years ago

Pinging @elastic/ml-ui

LeeDr commented 5 years ago

@bhavyarm in this case you've disabled ML and other apps with the Spaces feature control. The other way is at a role level. I'm wondering if ML page still appears in that case as well?

sophiec20 commented 5 years ago

@bhavyarm Please confirm which license and user you are using?

(I can see a 404 for ML using trial license from "build_date" : "2019-05-29T18:10:13.032630Z")

bhavyarm commented 5 years ago

@sophiec20 this is on trial license and on non - default space. Thanks!

bhavyarm commented 5 years ago

@sophiec20 you are correct. Apologies. @LeeDr and I cross-checked it. Thanks. I am editing the issue again!

elasticmachine commented 5 years ago

Pinging @elastic/kibana-security

rashmivkulkarni commented 5 years ago

subscribing!

elasticmachine commented 4 years ago

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