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.
Our group roles who have 'access revisions options of' permissions can see the revisions list, but when they click on an individual revision to view it (node/%node/revisions/%/view) , they receive access denied.
The other items in hook_menu_alter are working fine, but after experimenting with print statements it looks like og_moderation_node_revision_access() is not being executed for group-level roles on 'node/%node/revisions/%/view'. It is being executed on node/%node/revisions.
Any ideas?
Comments
Comment #1
joelpittetSounds like the drupal core revision permission is missing. Check
view revisions
permission in the node module.Comment #2
shenzhuxi CreditAttribution: shenzhuxi commentedI can't reproduce this issue with a minimal installation.
Free to re-open this if you can reproduce it.