X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5a6a33edf0ec2ac012715e12c35c7285b64c099b..3ad790a3d4bc23cb23f7ee072171ca6ef987eb56:/tasks.php diff --git a/tasks.php b/tasks.php index cf7f607c..3ea2faaa 100644 --- a/tasks.php +++ b/tasks.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessCheck(right_manage_team) || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { header('Location: access_denied.php'); exit(); }