[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare - ProjectManager - default records for new installations * 4 * http://www.egroupware.org * 5 * Written and (c) 2005 by Ralf Becker <RalfBecker@outdoor-training.de> * 6 * -------------------------------------------- * 7 * This program is free software; you can redistribute it and/or modify it * 8 * under the terms of the GNU General Public License as published by the * 9 * Free Software Foundation; either version 2 of the License, or (at your * 10 * option) any later version. * 11 \**************************************************************************/ 12 13 /* $Id: default_records.inc.php 18333 2005-05-21 18:14:26Z ralfbecker $ */ 14 15 // adding some default roles 16 foreach(array( 17 1 => array( 18 'role_title' => 'Coordinator', 19 'role_description' => 'full access', 20 'role_acl' => 0xffff), 21 2 => array( 22 'role_title' => 'Accounting', 23 'role_description' => 'edit access, incl. editing budget and elements', 24 'role_acl' => 1|2|4|64|128), // READ, ADD, EDIT, BUDGET, EDIT_BUDGET 25 3 => array( 26 'role_title' => 'Assistant', 27 'role_description' => 'read access, incl. budget and adding elements', 28 'role_acl' => 1|2|64), // READ, ADD, BUDGET 29 4 => array( 30 'role_title' => 'Projectmember', 31 'role_description' => 'read access, no budget', 32 'role_acl' => 1), // READ 33 ) as $role_id => $data) 34 { 35 $GLOBALS['phpgw_setup']->oProc->insert('egw_pm_roles',$data,array('role_id'=>$role_id),__LINE__,__FILE__,'projectmanager'); 36 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |