From dc051c0c09dfbd75c906acf680020d513da4fb05 Mon Sep 17 00:00:00 2001
From: Arturo Gonzalez <arturo.gonzalez@artica.es>
Date: Tue, 16 Feb 2016 18:06:46 +0100
Subject: [PATCH] Thanks god for strict acl. Ticket#3391

---
 pandora_console/include/class/Tree.class.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php
index 0c7236b566..52f236ce28 100644
--- a/pandora_console/include/class/Tree.class.php
+++ b/pandora_console/include/class/Tree.class.php
@@ -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';