By AgnesCB on
I posted about my specific issue here
If my conclusions are right when implementing access restrictions no node views Drupal developers have a choice of either implementing hook_access and hook_db_rewrite_sql to control access on the fly or use hook_node_grants/hook_access_records to store access control info in the node_access table.
I have seen conflicting information in the handbook and the issues queues on which approach is "best" re. performance/complexity/whatever. Anybody has pearls of wisdom on which is best for what case (based on... number of nodes? how much info is actually stored in node_access? ...??)?