Problem/Motivation
Revisions tab is missing in the tasks menu on certain content types and /revisions link returns an Access Denied page, even using user 1.
I've been having this problem since at least 9.3.2 maybe even previous to that update and hadn't noticed. If I uninstall Node Revision Delete, all revision pages are accessible again. I have 2 content types that still work as intended and revision information is successfully purged (and doesn't throw an access denied page when trying to view revisions), but the rest show access denied pages when trying to view revisions (but they do purge). All settings are the same across all content types and permissions are set correctly. I have tried running cron, clearing the cache and uninstalling/reinstalling the module, but the issue remains.
I'm not seeing any errors anywhere, so I'm not sure what else I can provide to help track down the issue.
Comments
Comment #2
adriancidI don't have idea about how to reproduce this issue, closing for the moment, but fell free to reopen if you have more information.
Comment #3
etiennejacquot commentedUPDATE: OOPS I am using the Diff module, not node_revision_delete ... strange coincidence though
I also am running into this issue on Drupal 9.3.15 - 9.4.2 hosted on Pantheon using integrated composer...
Specific nodes of a custom content-type seemingly have revisions enabled, but the node > edit wizard only shows a tab for latest version, not the normal revisions tab available to see previous edits like I am expecting...
If I manually change the url from /node/#/latest to /node/#/revisions I get Access Denied, suggesting the page maybe does exist but for some reason I cannot access. I am role administrator and should have the correct permissions. It's just strange!
Comment #4
safetypinI won't reopen this ticket unless I can find some more information, and I'm not sure how important it is to my organization that this issue is resolved, but it sounds like I'm seeing the same kind of error: access denied when attempting to view a single revision or the list of revisions for a particular node, when logged in as user 1. One thing I noticed is that when I view the node (or edit) I do not see a revisions Tab. I'll probably spend a little time on it and report back here if I'm able to find anything.