Some users are not able to view pivot reports. It looks as though unless a user has the 'Administer CiviCRM' permission ticked in addition to 'access CiviCRM pivot table reports' permission, they aren't able to view preconfigured reports.
Before
Users without 'Administer CiviCRM' permission were unable to access pivot reports. There were also problems using the API calls needed to build the reports, as they also required 'Administer CiviCRM' permission.
After
Fixed by making the 'Reports' menu item accessible by users with the 'access CiviCRM pivot table reports' permission and by using the alterAPIPermissions hook to enable required API end-points.
Overview
Some users are not able to view pivot reports. It looks as though unless a user has the 'Administer CiviCRM' permission ticked in addition to 'access CiviCRM pivot table reports' permission, they aren't able to view preconfigured reports.
Before
Users without 'Administer CiviCRM' permission were unable to access pivot reports. There were also problems using the API calls needed to build the reports, as they also required 'Administer CiviCRM' permission.
After
Fixed by making the 'Reports' menu item accessible by users with the 'access CiviCRM pivot table reports' permission and by using the alterAPIPermissions hook to enable required API end-points.