hi, i'v read all articles about node access, and still have this one question:

when somebody created a node access module, and implements hook_node_access, why should they put their realm in node_access table too (using hook_***_grant)?
and if they do, When will it be checked?

I thought this is the best place to ask since you have already done this.
thanks in advance.

Comments

salvis’s picture

Status: Active » Fixed

hook_node_access() is used for single nodes; the {node_access} table is used for lists of nodes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.