give Default and Admins group rights for ImportExport

This commit is contained in:
Ralf Becker 2011-05-07 12:35:29 +00:00
parent b416719eb8
commit ec7533f2c7

View File

@ -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);
}