I have been receiving a "Permission Restrictions Deny..." message on the broken links page and I have tracked it down to content that is moderated with the Workbench Moderation module. Here are a some helpful comments I have found about how the save routine with Workbench Moderation: 1811468#comment-9110519, 2244789, 1807460#comment-7999497.
I am not familiar enough with the Workbench Moderation process to say that this is the cleanest solution, but I have been testing for a month without problems. I appreciate any feedback and hope it will help others.
Brian
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | moderation-permission-restrictions-2872686-7.patch | 932 bytes | .bert |
| #2 | moderation-permission-restrictions-2872686-1.patch | 828 bytes | nairb |
Comments
Comment #2
nairb commentedComment #3
nairb commentedComment #4
hass commentedCould you explain how to test / verify it? I'm not sue what condition your are covering with this change. Can we add this to the code, please?
Workbench moderation 3.x or 1.x or both? It should work for both as 3.x is a bit broken currently.
Comment #5
nairb commentedSorry... I'm using Workbench Moderation 7.x-3.0
After fixing a broken link in moderated content, I see a "Permissions restrictions deny you access..." message on the Broken Links report page. I modified the Link Checker module to display more information with that message (lid, url, nid) so I could verify where it was coming from. What seems to be happening is that linkchecker_isdefaultrevision is not checking against the published revision. It seems that workbench_moderation['updating_live_revision'] is from Workbench Moderation 1.x and workbench_moderation['published'] is new to 3.x.
Comment #6
hass commentedThat is possible. I'm still on 1.4 because of the many issues with 3.x and have not made any tests about this yet. Looks like 3.x is not moving to stable... :-(
Version specific testing may be really hard to test. We should add comments to the code at least. While you are reroling, please fix the code style and add a space after "if"s.
Comment #7
.bert commentedA bit late for this, but here's a re-rolled version of the patch.
Not sure how this could be tested across versions, but I can confirm that the patch works well in our environment using Workbench Moderation 3.x. Really helps remove a lot of noise.
Comment #8
eiriksmThanks for the patch! 🙏
Can you update the issue summary with some specific steps to reproduce from a vanilla Drupal 7 install?🕵️
Comment #9
quadrexdevD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!