[contributions(DRUPAL-4-7):deekayen] /modules/node_privacy_byrole node_privacy_byrole.module
5 Feb
2008
5 Feb
'08
8:37 p.m.
User: deekayen Branch: DRUPAL-4-7 Date: Tue, 05 Feb 2008 19:37:53 +0000 Modified files: /modules/node_privacy_byrole node_privacy_byrole.module Log message: doing node_load() from other modules (like usernode) wouldn't have the npbr permissions set when it modifies the $node object and node_save()s it back - it resulted in all the npbr permissions being unset for the node. In other words, if you used node api modules to modify a node instead of using the node editing form, permissions broke. This tries to set existing permissions in the node object when calling a node_load(). Links: http://cvs.drupal.org/diff.php?path=contributions/modules/node_privacy_byrol...
6722
Age (days ago)
6722
Last active (days ago)
0 comments
1 participants
participants (1)
-
drupal-cvs@drupal.org