[development] How to trigger access denied page from hook_nodeapi

Pierre R. pierre.rineau at makina-corpus.com
Wed Jan 27 16:18:20 UTC 2010

On Tue, 2010-01-26 at 17:42 +0100, Ernst Plüss wrote:
> Hi Drupal friends
> I'd like to trigger a access denied page from my hook_nodeapi function
> up on $op=view.

Another way is working with the hook_node_grants(), but this is a total
mess, I never figured out how does it work exactly. I think the guy
which have implemented this one must have some brain damage.


More information about the development mailing list