Skip to content

Add a user with read_only permission

shanchenqi edited this page Mar 9, 2022 · 4 revisions

0. Create a tenant

create a tenant to show the dashboard

1. add a user

set username and password

2. Create a role

a. Create a role

b. Set permission:

  • Cluster permission: kibana_all_read,

  • Index permission: index: *; Permission: read

  • Tenant permissions: the tenant created for the user; permission: read

3. Map the roles to the user.

4. Import saved_object from the global dashboard to the new tenant

  • EXPORT saved object from global to local.

  • Switch to the new tenant, IMPORT the exported local data to the new tenant.

5. Log in with the new user, check it has no permission to edit.