azureelasticsearchkibanaelastic-cloud

Elastic cloud roles are not mapping correctly to stack roles


Elastic documentation here says that the organization roles (Admin, Editor, Viewer) should map 1:1 to built-in stack roles (superuser, editor, viewer).

But it looks like this is not happening correctly. The setup is this:

What I expect

If a user has this setup:

It should NOT be able to see data inside any kibana instance, nor should be able to see deployment informations on elastic cloud panel (elasticsearch service console).

If a user has this setup:

It should be able to see all data in all instances and be able to edit elastic cloud panel.

What is happening

This is the error that the second user is seeing when trying to access Kibana (login with Elastic Cloud). The user was previously able to login, I just moved his organization role temporarily from Admin to None then to Admin again.

I thought about delay in role updates, but I can't find anything about it on Elastic docs.


Solution

  • It looks like a delay when updating roles. From my understanding it can take up 10/20 minutes