Nodeaccess does not work, if content is not published, i.e Author1 is creator of the node, but he does not set Published flag for it (so it is not visible to all), but he allows Author2 to modify the node via Nodeaccess settings... Author2 still gets access denied page and cannot see/edit the content :-(. Only those having permission to administer nodes can see also unpublished nodes, but I do now want to give to the Author2 permission of administering nodes (as much more power comes with it)...
Could possibly Nodeaccess make the node visible/editable to those having permission to edit node, regardless of Publish/Unpublish flag?

Comments

agentrickard’s picture

Status: Active » Closed (duplicate)

This is a limitation of the Node Access system in Drupal. There is nothing that nodeaccess the module can do about it.

See http://api.drupal.org/api/function/node_access/6

  // If the module did not override the access rights, use those set in the
  // node_access table.
  if ($op != 'create' && $node->nid && $node->status) {

If $node->status is FALSE, node access grants cannot fire.

This is a known core bug.