Hi, since the xpack.reporting.roles settings are deprecated since v7.14.0, I have disabled the use of the reporting role in our 7.17.6 environment by setting:
The new subfeatures appear in the role settings page, however regardless of whether I enable the subfeatures or not, the CSV export button on the Discovery page does not appear. Even when I set the Kibana features to All, it does not work. Setting back the xpack.reporting.roles.enabled to true gives me the Generate CSV button back.
Just to be clear, the reporting subfeatures for the Dashboards and Visualizations work fine after enabling the subfeatures, but exporting to CSV from within the Discovery is not possible. The share button only shows the Snapshot and Saved object URL link.
Is there anyone who could confirm this behavior? Sound like a bug, but I couldn't find anything related on Github.
Hi @tsullivan thanks for following up. This is an Elastic Cloud Elasticsearch cluster running on 7.17.6. We are using our own Kibana also on 7.17.6.
The Cluster has an Enterprise license.
We are setting permissions on a non-Default space. All features on this space are enabled via Kibana->Spaces. The role that we are using is giving access to all exporting/reporting sub-features. This seems to work fine for generating PDF reports of visuals and dashboards, but the CSV export share is missing for the users assigned to this role.
Hi Tim, unfortunately I'm not able to replicate the issue anymore. After reversing xpack.reporting.roles.enabled: false and enabling the sub-features it works as expected. Maybe we should ignore it for now. It could have to do something with previously created roles, or manually created roles through the API, but I'm not sure. Sorry for the inconvenience.