From 137fe5c1eba354cc252648b1aa1668ce351d63f2 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 17 Apr 2001 16:32:14 +0000 Subject: [PATCH] Add acl to let the imported users change their password --- setup/ldap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/ldap.php b/setup/ldap.php index 454ca409ba..36807892c2 100644 --- a/setup/ldap.php +++ b/setup/ldap.php @@ -184,6 +184,10 @@ $acl->add('phpgw_group',$defaultgroupid,1); } + // Now add the acl to let them change their password + $acl->delete('preferences','changepassword',$thisacctid,1); + $acl->add('preferences','changepassword',$thisacctid,1); + // Save these new acls. $acl->save_repository(); }