Closed (fixed)
Project:
OG Node Access
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2011 at 21:15 UTC
Updated:
6 Jan 2012 at 06:20 UTC
Line 60 reads "&& (user_access('access administration pages') || (isset($space) && spaces_admin_access()))) {"
This is fine except for the fact that spaces_admin_access doesn't exist. The function name is actually spaces_access_admin. The reason this wasn't detected previously (most likely) is that the if statement would never get to that function for evaluation for those with admin-esk permissions.
Comments
Comment #1
Grayside commentedhttp://drupalcode.org/project/og_node_access.git/commit/c3314fe
Good catch!