BUG Opendistro(1.8) kibana_read_only role not working in elastic 7.7

Hi,

BUG Opendistro(1.8) kibana_read_only role not working in elastic 7.7???

when I am using the role kibana_read_only, the tenant tab is invisible, in addition to the absence of research data, dashboard and index …

pj:


Thanks.

1 Like

I have never faced with this issue previous relases, ex. kibana:7.6.1

I tried with opendistro 1.8.0 and 1.9.0 but still doesn’t work (at least not how it worked in 0.9.0). Did anyone find a fix for this? Thanks!

The same in version 1.9.0.

Any news on this?

Thanks!

In ODFE 1.7.0, I got this working doing the following:

  • I assigned my user the backend role of “KibanaReadOnlyUsers” (which does not exist)
  • I then played with the roles mappings:
  • Created role-mapping between “KibanaReadOnlyUsers” and “kibana_read_only
    • I see what you show in the screenshot; able to log into Kibana but only the DASHBOARD icon is displayed in the left-hand menu and no dashboards are listed in the right-hand panel.
  • Added role-mapping between “KibanaReadOnlyUsers” and “kibana_user
    • After logging in, Dashboard icon is the only one listed in the left hand menu (as-above), but my dashboards are listed in the right-hand panel. When I select a dashboard, it comes up but with no data displayed and errrors are displayed complaining about a security exception.
  • Created a new role “cluster_and_index_access” with the following:
    • Cluster Permissions: cluster_composite_ops_ro
    • Index Permissions:
      • Index pattern: "myIndex-*"
      • Permissions: Action Groups: “search”
  • Added a role-mapping between the new role “cluster_and_index_access” and the backend role “KibanaReadOnlyUsers
    • When I log in now, I see my dashboards and when I bring up my dashboard, I see my data. Success!

It may be possible to combine some of those steps and/or directly assign some of the roles to the user.