[development] How to trigger access denied page from hook_nodeapi

Matt Chapman matt at ninjitsuweb.com
Thu Jan 28 18:04:01 UTC 2010

On Wed, Jan 27, 2010 at 8:18 AM, Pierre R.
<pierre.rineau at makina-corpus.com> wrote:
> 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.

Actually, the hook_node_grants() / hook_node_access_records() system
is effective and powerful. If you can improve on it, patches are
welcome. In any case, it's a bold move to insult the mental ability of
someone else because you can't understand their work....


More information about the development mailing list