Code

Fix errornous evaluation of ACLs when managing servers (partial port of revision...
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Feb 2009 08:56:03 +0000 (08:56 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Feb 2009 08:56:03 +0000 (08:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13432 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_divListSystem.inc

index 26dd857b6bc3905c2ca150c8f0f4285ea74def26..0251feb5559954f29493ced66affae7cfa16600f 100644 (file)
@@ -183,7 +183,7 @@ class divListSystem extends MultiSelectWindow
       $s.= "...|<img src='plugins/systems/images/select_workstation.png' alt='' border='0' class='center'>".
         "&nbsp;"._("Workstation")."|"."newsystem_workstation|\n";
     }
-    if(class_available("servtabs") && preg_match("/c/",$ui->get_permissions($this->selectedBase,"workstation/servgeneric"))){
+    if(class_available("servtabs") && preg_match("/c/",$ui->get_permissions($this->selectedBase,"server/servgeneric"))){
       $s.= "...|<img src='plugins/systems/images/select_server.png' alt='' border='0' class='center'>".
         "&nbsp;"._("Server")."|"."newsystem_server|\n";
     }