I am baffled by the the way standard role assignment works in OS.
My goal is to have an OIDC assigned mapping done for external users to have a read only view (on everything, basically).
It is fine, as long as they have:
readall
kibana_user
assigned.
The problem is the kibana_user makes it possible to delete indexes.
I was working on this and created a “kibana_restricted” role (see below).
I assigned it instead of kibana_user.
Looks like it is not sufficient, mapped users do not have access to indexes.