Great module - need to remove a rogue underscore to allow admins to see all
chrisshattuck - June 16, 2008 - 23:10
| Project: | Private nodes |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
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

#1
Playing 'bug bingo' :)
Patch attached.