Thanks god for strict acl. Ticket#3391

This commit is contained in:
Arturo Gonzalez 2016-02-16 18:06:46 +01:00
parent daae8b9088
commit dc051c0c09
1 changed files with 4 additions and 2 deletions

View File

@ -350,8 +350,10 @@ class Tree {
// Get the agents of a group
case 'group':
if (empty($rootID) || $rootID == -1) {
if ($this->strictACL)
return false;
// Strict acl specifications
/*if ($this->strictACL)
return false;*/
$columns = 'tg.id_grupo AS id, tg.nombre AS name, tg.parent, tg.icon';
$order_fields = 'tg.nombre ASC, tg.id_grupo ASC';