[drupal-devel] Working around node_access in node/add

Moshe Weitzman weitzman at tejasa.com
Sat Feb 12 21:41:12 UTC 2005


> 2. Add another pass to the nodeapi hook for "access" that lets modules 
> restrict access to specific nodes on a situational basis.  This could 
> be called from node_access().  I think this would address my needs.

-1. Consider the case when we are retrieving a list of nodes. We don't 
want to call a hook against every single node we've retrieved. We want 
to retrieve only the right nodes in SQL. That is the whole point of the 
node_access table.

More information about the drupal-devel mailing list