summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f748347)
raw | patch | inline | side by side (parent: f748347)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Oct 2008 07:56:34 +0000 (07:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Oct 2008 07:56:34 +0000 (07:56 +0000) |
-the ACL attribute is now named "userPassword" instead of "gotoRootPasswd"
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12776 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12776 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc
index a03b57adfdb0bfa037861ad9b81081ba078f7378..743da7e2c9908e35e5b7772a4f60d056b1065955 100644 (file)
"cn" => _("Name"),
"base" => _("Base"),
"description" => _("Description"),
- "gotoRootPasswd" => _("Root password"))
+ "userPassword" => _("Root password"))
));
}
diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc
index 68f4fd26ed45fb7ec3b801afa9cb4e45bb0408f7..a68c74497b3e0614001340d4aeb18fad8ef07445 100644 (file)
$display= $val["cn"][0].$dsc;
}
- /* Check if this is a terminal/workstation && if we are allowed to change the gotoRootPasswd */
+ /* Check if this is a terminal/workstation && if we are allowed to change the userPassword */
$display_key_for = array("terminal","workstation","server","component");
- $pwd_acl = $ui->get_permissions($val['dn'],$tabs[$type]['ACL'],"gotoRootPasswd");
+ $pwd_acl = $ui->get_permissions($val['dn'],$tabs[$type]['ACL'],"userPassword");
if(preg_match("/w/",$pwd_acl) && in_array($type,$display_key_for)){
$action2 = "<input class='center' type='image' src='images/lists/key.png' alt='"._("Password")."' name='system_setpwd_%KEY%' title='"._("Set password")."'>";
}else{
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 0cd22e2397279e15f85832db50cd49a4adf63c0f..664f024c7c5d6192b24db4d2a5567642b6f1929e 100644 (file)
"base" => _("Base"),
"gotoMode" => _("Goto mode"),
- "gotoRootPasswd"=> _("Root password"),
+ "userPassword"=> _("Root password"),
"FAIstate" => _("Action flag"))
));
}
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index d4b6dc800fcc16b0b9e774378ca1ee8b606a135d..f2c37eecf1fb58dad694940c67fa852bea23cce4 100644 (file)
$acl = $tabs[$type]["ACL"];
$tabclass = $tabs[$type]["TABCLASS"];
$ui = get_userinfo();
- $tabacl = $ui->get_permissions($dn,$acl,"gotoRootPasswd");
+ $tabacl = $ui->get_permissions($dn,$acl,"userPassword");
if(preg_match("/w/",$tabacl)){
$this->dn= $this->terminals[$s_entry]['dn'];
session::set('objectinfo',$this->dn);
/* Get acls */
$ui = get_userinfo();
- $tabacl = $ui->get_permissions($this->dn,$acl,"gotoRootPasswd");
+ $tabacl = $ui->get_permissions($this->dn,$acl,"userPassword");
/* Check acls */
if(preg_match("/w/",$tabacl)){