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.
The workbench moderation module adds a permission to view all unpublished content. The node reference module should check for this permission in node_reference_field_prepare_view().
Comment | File | Size | Author |
---|---|---|---|
#4 | After.png | 39.47 KB | renatog |
#4 | Before.png | 32.3 KB | renatog |
#1 | workbench_moderation-all-unpublished-content-support-1535716-1.patch | 1.02 KB | kenneth.venken |
Comments
Comment #1
kenneth.venken CreditAttribution: kenneth.venken commentedAnd here's the patch that checks for that permission.
Comment #2
alfaguru CreditAttribution: alfaguru commentedSee also http://drupal.org/node/1345816#comment-6387656
Comment #3
gauravjeet CreditAttribution: gauravjeet as a volunteer commentedThis works fine with the workbench moderation module. I have tested this patch and it can be included in the next module release.
Thanks.
Comment #4
renatogHi people.
I applied the patch manually and works good for me.
Before:
After:
Regards.
Comment #6
renatogFixed.
Commited in dev branch.
Thanks people for contribution.
Good Work and Good Weekend.
Regards.