Active
Project:
node privacy byrole
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jan 2009 at 08:42 UTC
Updated:
8 Oct 2009 at 13:38 UTC
Hi,
node_privacy_byrole_change_role_action_form had a little bug in creating the form. The patch adjusts the code to the one used in node_privacy_byrole_rolereference_action_form.
Additionally, after invoking nodeapi(update) in node_privacy_byrole_change_role_action it is neccessary to update the node access grants table. Otherwise the npbr permissions will be set, but the node(s) will still not be accessable.
I guess the same must be done in node_privacy_byrole_rolereference_action but I couldn't look at this at the moment. You will know better :-)
| Comment | File | Size | Author |
|---|---|---|---|
| npbr_change_role_action.patch | 852 bytes | Frank Steiner |
Comments
Comment #1
cyu commentedBoth actions should now be fixed up and working with http://drupal.org/cvs?commit=171598
Comment #3
Frank Steiner commentedPart of. We still need to update the grants table, otherwise a node which gets the view flag removed for all roles will still be visible to each role that could view it before. I.e. we still need