From: cajus Date: Tue, 10 Apr 2007 12:24:21 +0000 (+0000) Subject: Fixed printer acl check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5b73bb3da183bfa1d24f5febcab790ccec2a3769;p=gosa.git Fixed printer acl check git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5997 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/Changelog b/Changelog index a8df543cc..75f8281ac 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,7 @@ GOsa2 changelog - Corrected setup generated perl mkntpasswd string - Fixed month listing in fax reports - february was march - Enabled 9 digits for gid-/uidNumbers + - Fixed acl's for saving printers * gosa 2.5.9 - Fixed ldap tls connections when schema check was being used diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 84c07304e..3a5a975c6 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -637,7 +637,7 @@ class printgeneric extends plugin if($this->BelongsTo == "Printer"){ $ui= get_userinfo(); $acl= get_permissions ($dn, $ui->subtreeACL); - $acl= get_module_permission($acl, "printer", $this->dn); + $acl= get_module_permission($acl, "printgeneric", $this->dn); if (chkacl($acl, "create") != ""){ $message[]= _("You have no permissions to create a printer on this 'Base'."); }