From 235b97baf1f682f2b8aaa0f4b826ee36e3870339 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 22 Jan 2010 10:18:32 +0000 Subject: [PATCH] Added %acl parameter git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15251 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index ab6d59443..6960e4fab 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[]= $this->xmlData['definition']['objectType'][$index]['category']; + $this->categories[$otype]= $this->xmlData['definition']['objectType'][$index]['category']; } } } @@ -746,6 +746,14 @@ class listing { continue; } + // 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)); + continue; + } + // Move dn if needed if ($param == "dn") { $params[]= LDAP::fix($config["dn"]); -- 2.30.2