elastic / kibana

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

Highlight editor and viewer built-in roles #136716

Open bytebilly opened 2 years ago

bytebilly commented 2 years ago

Description

We introduced editor and viewer built-in roles, that are useful to provide an easy getting started experience. They can be used to grant access to your deployments to other users without granting superuser privileges or spending time to understand and craft a custom role.

In the future, these roles will be even more relevant and leveraged by Elastic Cloud.

In the user management view, the Roles dropdown has some logic to group and sort existing roles. We could tweak Kibana UI to make them more visible and clearly explain what they are intended for, so that they can be even more user friendly.

image

Proposal

Create a new dropdown group General purpose roles (or something similar) with editor and viewer entries and put it at the top of the list.

If possible, these entries may have a descriptive text that will help in visibility and clarity, so users don't have to go to documentation to understand what these roles do.

Something along these lines (quick mockup to give an idea, probably you can come with better proposals 🙂):

image

elasticmachine commented 2 years ago

Pinging @elastic/kibana-security (Team:Security)

bytebilly commented 2 years ago

cc @legrego @arisonl

thomheymann commented 1 year ago

@bytebilly I really like the idea of simplifying access management by emphasising our recommend roles. I was thinking of potentially taking this further and pulling them out of the combo box entirely to make them more prominent and ensure they're instantly visible. Would you have any concerns with the approach below?

Frame 1-7
bytebilly commented 1 year ago

I'm curious which is the approach that Cloud UI will use for roles. We probably want to be consistent across the two cc @alxchalkias