From: psc Date: Tue, 23 Feb 2010 09:45:11 +0000 (+0000) Subject: Commit LHM-local patch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e40dc8f7b290036ec4f565bac6bc74669a6b0691;p=gosa.git Commit LHM-local patch Don't show 'Set UserPassword' action in system management. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15671 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc index f03f1744b..e2178ec8c 100644 --- a/trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc +++ b/trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc @@ -353,7 +353,11 @@ class divListSystem extends MultiSelectWindow $display_key_for = array("terminal","workstation","server","component"); $pwd_acl = $ui->get_permissions($val['dn'],$tabs[$type]['ACL'],"userPassword"); if(preg_match("/w/",$pwd_acl) && in_array($type,$display_key_for)){ - $action2 = ""; + /* MAF + removed by patch, don't display key + */ + //$action2 = ""; + $action2 = $empty; }else{ $action2 = $empty; }