From 397e808333a065f9866494f7dc22da3238f3a364 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 May 2011 08:24:41 +0000 Subject: [PATCH] Fixed remove acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20878 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/newConfigManagement/class_ConfigManagement.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc index 7c696be5c..6bb37d2a6 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc @@ -539,7 +539,7 @@ class ConfigManagement extends plugin $acl = $ui->get_permissions($dn, "ConfigManagement/ConfigManagement", "cfgItem"); // Check permissions, are we allowed to remove this object? - if(preg_match("/d/",$acl)){ + if(preg_match("/w/",$acl)){ $names["({$item['type']}) {$item['path']})"] = $item['name']; $this->ids[] = $id; } else { @@ -558,9 +558,6 @@ class ConfigManagement extends plugin function remove_confirmed() { - echo 'timmay'; - return; - $ids = $this->ids; foreach($ids as $id){ $item = $this->dataModel->getItemByDn($id); -- 2.30.2