Closed (fixed)
Project:
node privacy byrole
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Feb 2006 at 14:02 UTC
Updated:
25 Jun 2007 at 19:47 UTC
Jump to comment: Most recent file
In the switch to 4.7, the "form pre" option in nodeapi was removed, without copying the code over to check for meta_perm
This patch fixes this issue.
Without this patch the CVS version of NPBR, all users see NPBR's settings in the forms...not good.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | npbr-metaperm-3.patch | 1.13 KB | ac |
| #3 | npbr-metaperm-2.patch | 1.15 KB | ac |
| npbr-metaperm-1.patch | 1.01 KB | amanuel |
Comments
Comment #1
shouchen commentedThis patch doesn't seem to work for me. I've given the role 'author' permission to change permissions on the 'book page' type of node. However, authors do not see the permissions section of the edit form. Any ideas? (I'm on 4.7.1, using latest CVS of this module + only this patch.)
Comment #2
acWhilst this patch takes away permissions from those who shouldn't have them, it also denies users that should have permissions to change permissions permission. phew. Not ready to be committed
Comment #3
acBen has written a patch for this. Would love some testers
Comment #4
stevesmith commentedI'm trying to test npbr-metaperm-2.patch. But it's the first time I've tried to use a patch and can't work out exactly what I'm supposed to do. I take it - means remove line and + means add line? But where exactly in node_privacy_byrole.module should I put it?
Thanks
Steve
Comment #5
achttp://drupal.org/node/60108
Comment #6
acNew patch with minor path fix
Comment #7
amanuel commentedac,
thanks for spotting the missing ['#value'].
It should now work as advertised.
Comment #8
Jesse McCarthy commentedI'm new to Drupal and I don't know how this generally works, but is this patch ever going to be incoporated into the version of the module that's available for download?
Comment #9
charly commentedThanks guys. The lastest patch seems to work fine here!
Nice modules btw
Comment #10
charly commentedThanks guys. The lastest patch seems to work fine here (drupal 4.7)
Nice modules btw
Comment #11
jondoesdrupal commentedPatch applied to the 4.7 branch in cvs.
Comment #12
(not verified) commented