Author should retain permissions

jamonation - August 10, 2006 - 17:08
Project:Nodeperm_role
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Would it be difficult to allow authors to retain access and edit permissions on their node when they choose none and none for view and edit permissions respectively?

I'm not a programmer, but two functions stick out as me as *possible* places to implement such functionality:
nodeperm_save and nodeperm_role_load_view

Would a few (or one?) simple if statements to check for the author's uid and the current user's uid work to allow view/edit permissions? Sorry for the non-techincal nature of this request. I'd very much like to help out implment or test such functionality if it would be a welcome addition tot he module.

#1

robb - August 11, 2006 - 14:54

The module could be expanded to do this but I do not think its a good idea. It is probably better to use na_multi (see http://www.lab.canfield.com/node/201) to handle this situation.

 
 

Drupal is a registered trademark of Dries Buytaert.