From: hickert Date: Tue, 7 Feb 2006 09:27:43 +0000 (+0000) Subject: Fixed acl check for release remove X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=88c3dc2c29c73f2518f1b7de52f8387c2a37fe11;p=gosa.git Fixed acl check for release remove git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2632 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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!")); } }