From 80000ae4fbd94897aad71c6163d4aedb5ea4b908 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 22 Jan 2010 10:36:32 +0000 Subject: [PATCH] Static acl git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15254 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; } -- 2.30.2