In my application, admin has created certain dashboards on one index.
Now I want to create two roles for users for visibility of those dashboards.
role with read only access to those dashboards where DQL can be applied from prompt on displayed dashboards
role with read only access to those dashboards where DQL cannot be present to apply and dashboard will be fully read only.
I need to create these two roles only using roles.yml and roles_mapping.yml and cannot create from UI of openSearch Dashboard as due to some infra constraints Security option on UI is not available.
is there any way to handle it through roles.yml and roles_mapping.yml? I tried with kibana_read_only role, but it still makes edit dashboard option enabled.