Code

Avoid initial reset of ocMapping. It is array() anyway.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 09:56:19 +0000 (09:56 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 09:56:19 +0000 (09:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4465 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_userinfo.inc
plugins/admin/fai/class_divListFai.inc

index 2c5fb932ca9653b9099d34305ff5fefeac6924a9..29d6dc817e95075ddde54d5ae86b134b148a49c8 100644 (file)
@@ -94,7 +94,6 @@ class userinfo
 #echo "NEW ACL LOADING --------------------------------------------------------------------------------------------<br>";
 
     $this->ACL= array();    
-    $this->ocMapping= array();
     $this->groups= array();    
     $ldap= $this->config->get_ldap_link();
     $ldap->cd($this->config->current['BASE']);
@@ -226,6 +225,7 @@ class userinfo
 
           /* If attribute is "", we want to know, if we've *any* permissions here... */
           if ($attribute == "" && isset($subacl['acl'][$object])){
+echo "Global $object<br>";
             foreach($subacl['acl'][$object] as $attr => $dummy){
               $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl'][$object][$attr]);
             }
index 56a0d2bb4d9b447c91b59d39a9a53f6e3d54d649..58cd27a8ee39639287d2c65264df8510381be70b 100644 (file)
@@ -41,7 +41,7 @@ class divListFai extends MultiSelectWindow
 
     /* Set list strings */
     $this->SetTitle(_("List of FAI classes"));
-    $this->SetSummary(_("This table displays all FAI classes, in the selected tree."));
+    $this->SetSummary(_("This table displays all FAI classes in the selected tree."));
 
     /* Result page will look like a headpage */
     $this->SetHeadpageMode();