Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to get this in here before I forget the specifics, I can provide more detail if needed:
In customreports_node_access_records($node) the view custom reports and edit custom reports permissions are checked against a list of roles that have the access content permission, in general this is a good fail safe, however if access content is set on authenticated user and inherited by other roles, those roles cannot access custom reports.
It took me over an hour to figure out what was going on, but hopefully this can prevent others form having this headache in the future.
Comments
Comment #1
snufkin CreditAttribution: snufkin commentedComment #2
a_c_m CreditAttribution: a_c_m commentedSnufkin - did you work out a solution to this ?
Comment #3
mgardy CreditAttribution: mgardy commentedI have a role that I gave view custom reports to but a user with this role doesn't see the custom report. What else do I have to do?