HOW TO: grant read only permissions on the indexes (Couchbase UI)

Hi all,

from the Couchbase documentation I didn’t find a proper role to grant a specific user the Indexes read only permission.
All the permissions include a sort of workaround to manage the indexes.

Is there a role, that I maybe missed, which can grant the indexes visibility in the Couchbase UI, without the permission to manage them?

Did you try Read Only Admin permissions in general section. That allows to REST endpoint
curl -u usr1:password http://localhost:9102/getIndexStatus which UI uses to display indexes.

Hi @vsr1, yes…but that’s too much and users are going to see other stuffs related to other projects.

I needed a permission like Query Manage Index, but ReadOnly, so that it’s limited to a specific bucket/scope

Roles | Couchbase Docs, query_manage_index controls create, drop, list, build

At present List only Index (readonly) privilege not exposed.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.