When a Private node (from the OG module) is inserted into another node it should only be visible by members of that group (which is the case in Drupal5). In Drupal 6 this node appears even to unauthenticated users.

Comments

AlexisWilke’s picture

What else would I need to test the node access?

  $node = node_load($nid);
  if ($nid && node_access('view', $node)) {
   ...

Thank you.
Alexis