mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
install new mail app automatic and give default group run rights to it
This commit is contained in:
parent
da6b2e62ab
commit
ddc93e9af8
16
mail/setup/default_records.inc.php
Normal file
16
mail/setup/default_records.inc.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* EGroupware - Mail - setup
|
||||
*
|
||||
* @link http://www.egroupware.org
|
||||
* @package mail
|
||||
* @subpackage setup
|
||||
* @author Stylite AG [info@stylite.de]
|
||||
* @copyright (c) 2013 by Stylite AG <info-AT-stylite.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// give Default group rights for new mail app
|
||||
$defaultgroup = $GLOBALS['egw_setup']->add_account('Default','Default','Group',False,False);
|
||||
$GLOBALS['egw_setup']->add_acl('mail','run',$defaultgroup);
|
@ -17,6 +17,7 @@ $setup_info['mail']['version'] = '1.9.001';
|
||||
$setup_info['mail']['app_order'] = 2;
|
||||
$setup_info['mail']['enable'] = 1;
|
||||
$setup_info['mail']['index'] = 'mail.mail_ui.index&ajax=true';
|
||||
$setup_info['mail']['autoinstall'] = true; // install automatically on update
|
||||
|
||||
$setup_info['mail']['author'] = 'Stylite AG';
|
||||
$setup_info['mail']['license'] = 'GPL';
|
||||
|
@ -122,7 +122,7 @@ else
|
||||
}
|
||||
|
||||
// Group perms for the default group
|
||||
$GLOBALS['egw_setup']->add_acl(array('addressbook','calendar','infolog','felamimail','filemanager','preferences','manual','groupdav','notifications','syncml','importexport','activesync'),'run',$defaultgroupid);
|
||||
$GLOBALS['egw_setup']->add_acl(array('addressbook','calendar','infolog','mail','filemanager','preferences','manual','groupdav','notifications','timesheet','importexport','activesync'),'run',$defaultgroupid);
|
||||
|
||||
$apps = array();
|
||||
foreach($GLOBALS['egw_setup']->db->select($GLOBALS['egw_setup']->applications_table,'app_name','app_enabled < 3',__LINE__,__FILE__) as $row)
|
||||
|
Loading…
Reference in New Issue
Block a user