mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
added admin user to the default group too, to give him all the "normal" apps
This commit is contained in:
parent
f18b38e74e
commit
e1e715168a
@ -147,6 +147,7 @@
|
||||
/* Create records for administrator account, with Admins as primary and Default as additional group */
|
||||
$accountid = $GLOBALS['phpgw_setup']->add_account($username,$fname,$lname,$passwd,'Admins',True);
|
||||
$GLOBALS['phpgw_setup']->add_acl('phpgw_group',$admingroupid,$accountid);
|
||||
$GLOBALS['phpgw_setup']->add_acl('phpgw_group',$defaultgroupid,$accountid);
|
||||
|
||||
/* Clear the access log, since these are all new users anyway */
|
||||
$GLOBALS['phpgw_setup']->db->query('DELETE FROM phpgw_access_log');
|
||||
|
Loading…
Reference in New Issue
Block a user