Code

Static acl
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jan 2010 10:36:32 +0000 (10:36 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jan 2010 10:36:32 +0000 (10:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15254 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index d2f2ce91193eeb8a65e305293a76e33e63906e45..8dc550dfff5575590eb29614afa2ffa9a309c6ef 100644 (file)
@@ -172,7 +172,7 @@ class listing {
       foreach ($this->xmlData['definition']['objectType'] as $index => $otype) {
         $this->objectTypes[]= $this->xmlData['definition']['objectType'][$index];
         if (isset($this->xmlData['definition']['objectType'][$index]['category'])){
-          $this->categories[$otype]= $this->xmlData['definition']['objectType'][$index]['category'];
+          $this->categories[]= $otype['category'];
         }
       }
     }
@@ -749,8 +749,10 @@ class listing {
         // Move acl information if needed
         if ($param == "acl") {
           $otype= $this->getObjectType($this->objectTypes, $config["objectClass"]);
-          $category= $this->category[$otype];
-          $params[]= $ui->get_category_permissions($config["dn"], $category);
+          echo "Type: $otype<br>";
+          #$category= $this->category[$otype];
+          #$params[]= $ui->get_category_permissions($config["dn"], $category);
+          $params[]= 'rwcdm';
           continue;
         }