Commit c9c66a9c authored by Leigh Stoller's avatar Leigh Stoller

Fix old bug; group root in the project can look inside any group.

parent c4696f1e
......@@ -354,6 +354,13 @@ class Group
}
if ($access_type == $TB_PROJECT_READINFO) {
#
# Group root in the project can see any group.
#
if (TBMinTrust(TBGrpTrust($uid, $pid, $pid),
$TBDB_TRUST_GROUPROOT)) {
return 1;
}
$mintrust = $TBDB_TRUST_USER;
}
elseif ($access_type == $TB_PROJECT_MAKEGROUP ||
......
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