Posted by chrisshattuck on June 16, 2008 at 11:10pm
| Project: | Private nodes |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Hey there,
This module is doing exactly what we need it to do, thanks!
There is a slight error in the user_access() in private_nodes_check_access(), where the role is set to administer_users. Instead it should be 'administer users' (no underscore):
$is_admin = user_access('administer users');
Sorry about no patch, I just got set up on new computer still need stuff set up to do the diffs.
Thanks again!
Chris
Comments
#1
Playing 'bug bingo' :)
Patch attached.