Skip to content

Render Cloud links in the Kibana user profile dropdown #62863

@ryankeairns

Description

@ryankeairns

As part of the ongoing efforts to bring the Cloud and Kibana experiences closer together, we would like to provide Cloud users with a path back to their account settings from their Kibana deployment. More specifically, we need to add Cloud account links to the existing Kibana user profile menu.

☝️The target for this work is 7.9


The following three screenshots demonstrate the Cloud profile menu, the Kibana profile menu for a Cloud user, and the self-hosted (non-Cloud) profile menu.

Frame 2


What needs to happen in Kibana?

The default (current) links will need to be swapped out with the Kibana links. There is an existing Cloud plugin where we'd like to contain and manage all Cloud-related data.

Related to the deployment link issue, these profile links will use the same root URL. For each link, we would append the remainder of the path like:
👉 I need to verify these

The Cloud team has provided the design and is close to implementing this profile menu within their UI. Kibana should follow these established patterns so that users feel as though they are in one cohesive experience.

Additional considerations

There will be a couple of nuances in the initial version. First, we may not have the complete set of user data in the SSO object being passed. As an example, you'll notice the license level badge is not present on the Kibana side.

Additionally, Kibana does not have the notion of user preferences which means dark mode is applied as an advanced setting affecting all users on a given instance. For that reason, it has been removed from the Kibana user profile menu.

In cases where a user is on a self-hosted version of Kibana, or if they have logged in with the credentials provided by Cloud (i.e. signed in with the basic Kibana username/password form and not SSO), they will see a subset of the menu links. In actuality, we'll fall back to the base Kibana profile menu which only contains two links - User profile (fka Edit profile) and Log out.

Next steps, we need to watch out for the completion of the SSO work. Once that has been shipped, we can fetch the user object data and add logic to the Cloud plugin which swaps out the default links for the Cloud links, when possible.

In addition to the Cloud plugin work, the user profile menu should be changed to accept a set of menu links which are determined by the aforementioned logic.

Metadata

Metadata

Assignees

Labels

Feature:HeaderWork related to the header section of the Kibana app.REASSIGN from Team:Core UIDeprecated label for old Core UI teamTeam:SecurityPlatform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions