Reporting: Insufficient permissions error

Hi,
I’m trying to grant a user permissions to use reporting in Opensearch (1.2.x). I granted the following cluster permissions:

cluster:admin/opendistro/reports/definition/create
cluster:admin/opendistro/reports/definition/update
cluster:admin/opendistro/reports/definition/on_demand
cluster:admin/opendistro/reports/definition/delete
cluster:admin/opendistro/reports/definition/get
cluster:admin/opendistro/reports/definition/list
cluster:admin/opendistro/reports/instance/list
cluster:admin/opendistro/reports/instance/get
cluster:admin/opendistro/reports/menu/download

but the user is still getting “Insufficient permissions” error when trying to create a report. What am I missing?

Thanks

Hi, thanks for submitting this. Could you try open reporting plugin page in admin account once, then try to generate the report with user account? I checked the error is that the user doesn’t have permission to create the reporting index. By opening the plugin page, admin will create the index and user will be able to use it.

Created a tracking issue: [BUG] Reports indices cannot be created with reporting_full_access role · Issue #309 · opensearch-project/dashboards-reports · GitHub