mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
first take on new ACL dialog for admin
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @link http://www.egroupware.org
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @package timesheet
|
||||
* @copyright (c) 2005-11 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2005-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
@@ -242,4 +242,18 @@ class timesheet_hooks
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
/**
|
||||
* ACL rights and labels used by Calendar
|
||||
*
|
||||
* @param string|array string with location or array with parameters incl. "location", specially "owner" for selected acl owner
|
||||
*/
|
||||
public static function acl_rights($params)
|
||||
{
|
||||
return array(
|
||||
acl::READ => 'read',
|
||||
acl::EDIT => 'edit',
|
||||
acl::DELETE => 'delete',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user