From 88c3dc2c29c73f2518f1b7de52f8387c2a37fe11 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 7 Feb 2006 09:27:43 +0000 Subject: [PATCH] Fixed acl check for release remove git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2632 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiManagement.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 1dec0757b..6c521fa0a 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -370,12 +370,12 @@ class faiManagement extends plugin /* Load permissions for selected 'dn' and check if we're allowed to remove this 'dn' */ $acl= get_permissions ($faifilter['base'], $this->ui->subtreeACL); - $this->acl= get_module_permission($acl, "fai", $base); + $this->acl= get_module_permission($acl, "FAIclass", $base); if (chkacl($this->acl, "delete") == ""){ $smarty->assign("info", sprintf(_("You're about to delete a fai branch / freeze '%s'."), $faifilter['branch'])); return($smarty->fetch(get_template_path('remove_branch.tpl',TRUE))); } else { - print_red (_("You are not allowed to delete this user!")); + print_red (_("You are not allowed to delete this release!")); } } -- 2.30.2