Commit 490425a9 authored by Timothy Stack's avatar Timothy Stack

Add global decls for TBDB_TRUST_GROUPROOT to TBNodeAccessCheck and

TBImageIDAccessCheck, otherwise they seem to return true all the
time...
parent c40311db
......@@ -591,6 +591,7 @@ function TBNodeAccessCheck($uid, $node_id, $access_type)
global $TB_NODEACCESS_MIN;
global $TB_NODEACCESS_MAX;
global $TBDB_TRUST_USER;
global $TBDB_TRUST_GROUPROOT;
global $TBDB_TRUST_LOCALROOT;
$mintrust;
......@@ -751,6 +752,7 @@ function TBImageIDAccessCheck($uid, $imageid, $access_type)
global $TB_IMAGEID_MIN;
global $TB_IMAGEID_MAX;
global $TBDB_TRUST_USER;
global $TBDB_TRUST_GROUPROOT;
global $TBDB_TRUST_LOCALROOT;
$mintrust;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment