Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home page - Only display features that a user has access to #92414

Open
ryankeairns opened this issue Feb 23, 2021 · 9 comments
Open

Home page - Only display features that a user has access to #92414

ryankeairns opened this issue Feb 23, 2021 · 9 comments
Labels
Feature:Home Kibana home application old Used to help sort old issues on GH Projects which don't support the Created search term. Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@ryankeairns
Copy link
Contributor

ryankeairns commented Feb 23, 2021

From issue #54192


I understand that disabling the home page is not on the roadmap.

However, there are parts of the UI which are pointless and annoying in certain situations.
In the case of a readonly user who has rights only for discovering indexes, what is the point of

  • "Add data" on Home page: nothing can be done there
  • "Manage" on Home page: it says "Application Not Found" anyway
  • The whole "Ingest your data" section on Home page
  • All the above applies also to Analytics / Overview

The best would be if these were hidden automatically based on user rights.
If it is problematic, there should be a way to hide them manually.

Originally posted by @balee in #54192 (comment)

@ryankeairns
Copy link
Contributor Author

cc: @alexfrancoeur

@ryankeairns ryankeairns added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. labels Feb 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-design (Team:Kibana-Design)

@elasticmachine
Copy link
Contributor

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

@pgayvallet pgayvallet added the Feature:Home Kibana home application label Feb 25, 2021
@pgayvallet
Copy link
Contributor

The best would be if these were hidden automatically based on user rights.

The features plugin is an xpack plugin, so we won't be able to leverage it from the home plugin. If we want to use user-right based check, we would have to directly use the uiCapabilities.

Now, the hardest part would be to find the capabilities we want to base all those restrictions on.

For example the manage your data section:

Screenshot 2021-02-25 at 10 06 44

  • /app/management/security/roles
  • /app/monitoring
  • /app/management/data/snapshot_restore
  • /app/management/data/index_lifecycle_management

I'm not sure there is an uiCapability associated with accessing each of these apps/sections registered from OSS. (it's likely only registered via features in xpack)

cc @legrego as our features/capabilities expert 😅

@legrego
Copy link
Member

legrego commented Feb 25, 2021

Hmm, if these "Manage your data" items are showing up for underprivileged users, then that's a new bug for the respective teams. When I introduced #67791 / #77665 in 7.10, I took the time to make sure that the home screen was updated correctly based on user rights (It's all driven by UI Capabilities, which is available in OSS)

@ryankeairns
Copy link
Contributor Author

Thanks for the feedback. I've asked the original poster to confirm which version of Kibana they were running.

@ryankeairns
Copy link
Contributor Author

Thanks for the feedback. I've asked the original poster to confirm which version of Kibana they were running.

It was on v7.11.0. Sounds like we need to do some testing and validation before proceeding. I'll add this to ye ol' to-do list.

@Grunticus03
Copy link

Another use case where this causes usage issues/confusion is with the new feature, anonymous access. I have a dedicated space for anonymous user resources. While direct links are provided with interface features not shown (ie search bar, time filter, etc...), an enterprising user could easily strip the link down to the hostname and access the full interface and feature set allowed to the anonymous user. The space is currently configured to have everything disabled except dashboards in my case, but the Overview/Home pages are still visible.

@lukeelmers lukeelmers added Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) and removed Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Jun 16, 2022
@lukeelmers
Copy link
Member

Ping @elastic/shared-ux

@petrklapka petrklapka added the old Used to help sort old issues on GH Projects which don't support the Created search term. label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Home Kibana home application old Used to help sort old issues on GH Projects which don't support the Created search term. Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

7 participants