BUGS:

--------------------------------------------
NODEPERM_ROLE.MODULE

Line 42:

Wrong:

while ($perm = db_fetch_object($result)) { $node->nodeperm_role_edit[] = $grant->gid;
}

Good:

while ($grant = db_fetch_object($result)) { $node->nodeperm_role_edit[] = $grant->gid;
}

--------------------------------------------
NODEPERM_USER.MODULE

BUGS:

Line 66:

Wrong:

$node->nodeperm_user_view = isset($node->nodeperm_user_view) ? $node->permissions_example_view : array();

Good:

$node->nodeperm_user_view = isset($node->nodeperm_user_view) ? $node-> nodeperm_user_view : array();

BYE

Comments

ankur’s picture

Just refreshing this thread to update this issue. Will look into it during 4.5 -> 4.6 port.

-Ankur

ankur’s picture

Project: node privacy byrole » Nodeperm_role

I believe this is for nodeperm_role, not node_privacy_byrole.

-Ankur

robb’s picture

I think this may have been fixed in the latest version. If not can you tell me the function it is in. I am working on a patch for nodeperm and would like to roll in all the pending stuff to make it easier for everyone, including me!

robb’s picture

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

Closing