Code

ACL updates
[gosa.git] / plugins / admin / systems / class_glpiSelectUser.inc
index 4d8e2d41adace1e64f0001e4a7f824e612066022..8e7eff7e3812b28adc51c79dd027af5509f5da03 100644 (file)
@@ -209,7 +209,7 @@ class glpiSelectUser extends plugin
      */
 
     $res3= get_list("(&(|(ou=*)(description=*))(objectClass=gosaDepartment))",
-                    $this->ui->subtreeACL, $base, array("ou", "description"), GL_SIZELIMIT | GL_CONVERT);
+                    "glpi", $base, array("ou", "description"), GL_SIZELIMIT | GL_CONVERT);
 
     $this->departments= array();
     $tmp = array();
@@ -228,7 +228,7 @@ class glpiSelectUser extends plugin
     /* END NEW LIST MANAGMENT
      */
     $ou = get_people_ou();
-    $res2= get_list("(&(|(cn=$regex)(sn=$regex))(objectClass=person))", $this->ui->subtreeACL,
+    $res2= get_list("(&(|(cn=$regex)(sn=$regex))(objectClass=person))", "glpi",
                     $ou.$base, array("cn", "sn", "uid", "givenName", "description"),
                     GL_SUBSEARCH | GL_SIZELIMIT);