Closed (fixed)
Project:
Nodeperm_role
Component:
Documentation
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
25 Nov 2004 at 12:56 UTC
Updated:
8 Jun 2006 at 22:07 UTC
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
Comment #1
ankur commentedJust refreshing this thread to update this issue. Will look into it during 4.5 -> 4.6 port.
-Ankur
Comment #2
ankur commentedI believe this is for nodeperm_role, not node_privacy_byrole.
-Ankur
Comment #3
robb commentedI 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!
Comment #4
robb commentedClosing