mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
give Default and Admins group rights for ImportExport
This commit is contained in:
parent
b416719eb8
commit
ec7533f2c7
@ -34,3 +34,10 @@ while (false !== ($appdir = $egwdir->read())) {
|
||||
importexport_definitions_bo::import( $file );
|
||||
}
|
||||
}
|
||||
|
||||
// give Default and Admins group rights for ImportExport
|
||||
foreach(array('Default' => 'Default','Admins' => 'Admin') as $account_lid => $name)
|
||||
{
|
||||
$account_id = $GLOBALS['egw_setup']->add_account($account_lid,$name,'Group',False,False);
|
||||
$GLOBALS['egw_setup']->add_acl('importexport','run',$account_id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user