From: cajus Date: Fri, 22 Jan 2010 10:36:32 +0000 (+0000) Subject: Static acl X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=80000ae4fbd94897aad71c6163d4aedb5ea4b908;p=gosa.git Static acl git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15254 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index d2f2ce911..8dc550dff 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -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
"; + #$category= $this->category[$otype]; + #$params[]= $ui->get_category_permissions($config["dn"], $category); + $params[]= 'rwcdm'; continue; }