[contributions(DRUPAL-4-7):deekayen] /modules/node_privacy_byrole node_privacy_byrole.module
drupal-cvs at drupal.org
drupal-cvs at drupal.org
Tue Feb 5 19:37:53 UTC 2008
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_byrole/node_privacy_byrole.module&old=1.27.2.4&new=1.27.2.5&root=contrib
More information about the drupal-cvs
mailing list