How to give read-only access to dashboard

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): v 3.0.0

Describe the issue:
Hello
I’m new to opensearch after some years on elastic. I’ve setup Opensearch and Opensearch-dashboard, and have just one index and one dashboard for now as admin. Running on my own server.

I’ve created an internal users and the user can log on the opensearch-dashboard, but how do I give the user access to the dashboard as read-only that I created and nothing else?

Thank for you help. /Niels-Peter

Configuration:

Relevant Logs or Screenshots:

@NielsPeter are you using tenants? There are a number of ways to provide this access. If you are using tenants, you can create a dashboard in a particular tenant and give the user a read only access to that tenant, as well as read access to the necessary backing indices which the dashboard is referencing.

Also ensure to give the newly created user backend role of “kibanauser”.

1 Like

It worked. I created the role for the index, and mapped the kibanauser plus new role to the user. Thanks a lot. saved the week…

2 Likes