The node_access table does not contain any records for the realm 'node_privacy_byrole_user' even after rebuilding permissions. This means that authors are denied access to view their content. Manually adding the realm fixes the problem but I can't work out why this is not happening automatically.

I'm using 6.x-1.6 and I do not have any other access control modules installed

Any help would be greatly appreciated even if it is just a pointer in the right direction or to point out my stupidity.

Comments

misanthropisht’s picture

Assigned: Unassigned » misanthropisht
Status: Active » Closed (fixed)

The patch linked below fixed this problem.

http://drupal.org/files/issues/node_privacy_byrole-notices-6.x.patch

I don't know the Drupal API well so it took a while to figure out what the problem was. Once it had been narrowed down to the 'node_privacy_byrole_node_access_records' function a google search turned up the answer. Although I couldn't find the original issue this related to.

Many thanks to the module maintainers and whoever submitted this patch.