View own unpublished content and respect module_grants
jvanprehn - October 16, 2009 - 15:46
| Project: | view_unpublished |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Added 'view own unpublished content' permission and save old access callback so that we call this one (for example in case module_grants has already altered it). Since module_grants doesn't do this (it is a replacement for node_access), we have to make sure that the view_unpublished module runs after module_grants. Hence the .install file.
| Attachment | Size |
|---|---|
| view_unpublished_view_own.zip | 1.14 KB |

#1
Rolled a .patch file.