summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1acd2f0)
raw | patch | inline | side by side (parent: 1acd2f0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 May 2011 08:24:41 +0000 (08:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 May 2011 08:24:41 +0000 (08:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20878 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc
index 7c696be5c867dad4c03ce078b7d6f153d06549fb..6bb37d2a6619838587a08541fedffd76636fe165 100644 (file)
$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 {
function remove_confirmed()
{
- echo 'timmay';
- return;
-
$ids = $this->ids;
foreach($ids as $id){
$item = $this->dataModel->getItemByDn($id);