From e1dc0d3c99217504de2ac8467156274786efc0bd Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 9 Oct 2014 16:01:11 +0200 Subject: Big load of changes - Added callback functionality for taskmanager tasks. You can launch a task and define a callback function to be run when the task finished. This requires activating the cronjob - Added cron functionality: Add cronjob that calls the cron api every 5 minutes to use it. (See cron.inc.php) - Added eventlog - Added missing translations - Merged main-menu-login and main-menu-logout --- inc/permission.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'inc/permission.inc.php') diff --git a/inc/permission.inc.php b/inc/permission.inc.php index f90319a4..d04e3c3b 100644 --- a/inc/permission.inc.php +++ b/inc/permission.inc.php @@ -3,9 +3,10 @@ class Permission { private static $permissions = array( - 'superadmin' => 1, - 'baseconfig_global' => 2, - 'baseconfig_local' => 4, + 'superadmin' => 1, // Can do everything + 'baseconfig_global' => 2, // Change configuration globally + 'baseconfig_local' => 4, // Change configuration for specifig groups/rooms + 'translation' => 8, // Can edit translations ); public static function get($permission) -- cgit v1.2.3-55-g7522