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.

AttachmentSize
view_unpublished_view_own.zip1.14 KB

#1

jvanprehn - October 21, 2009 - 06:54

Rolled a .patch file.

AttachmentSize
view_unpublished_view_own.patch 2.57 KB
 
 

Drupal is a registered trademark of Dries Buytaert.