In some situations, users granted the 'edit any content' and/or 'delete any content' permission(s) are not able to view the nodes they can edit or delete. This is most apparent when considering unpublished nodes.
This could be fixed by implying this permission for any user granted the 'edit any' or 'delete any' permission, but a better, more secure solution is the addition of a new 'view any content' permission.
A seven-line patch is attached which provides this functionality, please consider for inclusion in future releases.
Comments
Comment #1
jtrudeau commentedUpdating the issue status.
Comment #2
ultimateboy commentedAgreed. I am generally +1 for more crud perms.
Comment #4
jtrudeau commentedUploaded a new patch. There were no error messages detailing why this failed testbed, but I assume the path of drupal/modules/node/node.module was incorrect, and so I have update it to modules/node/node.module.
Comment #5
jtrudeau commentedUploaded a new patch. There were no error messages detailing why this failed testbed, but I assume the path of drupal/modules/node/node.module was incorrect, and so I have update it to modules/node/node.module.
Comment #7
marcingy commentedThis is really a task as it is enhancing node access. Moving to head.
Comment #14
mxr576bump :)
Comment #22
acbramley commentedI think a view any permission makes sense, but we need to tidy up the title/IS and work needs to be rolled into an MR.