X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b..06c7ff20c26a9f1957ba3e2c909e5853e8b9ed70:/mobile/tasks.php diff --git a/mobile/tasks.php b/mobile/tasks.php index 9b778bbf..1e8b40a7 100644 --- a/mobile/tasks.php +++ b/mobile/tasks.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessAllowed('manage_tasks') || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { header('Location: access_denied.php'); exit(); }