reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table

This commit is contained in:
Ralf Becker 2006-06-23 01:27:40 +00:00
parent 1cfeb896a7
commit 8383d58c50

View File

@ -932,7 +932,7 @@
$GLOBALS['egw']->accounts->set_memberships($memberships,$accountid);
}
if (!$group) $this->add_acl('preferences','changepassword',$accountid,(int)$changepw);
if (!$group) $this->add_acl('preferences','nopasswordchange',$accountid,(int)!$changepw);
return $accountid;
}