X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tasks.php;h=a1033a5c09142fcc8287a8bbe9ee77b89142c478;hb=2cb68f81bd4dd4f4a83afc87bbc292df6b7d7039;hp=cf7f607cc4d9023823f96c7cab2bfc93757afb63;hpb=5ef582473f6b329be18ad83c61e053fdcd9c6ed5;p=timetracker.git diff --git a/tasks.php b/tasks.php index cf7f607c..a1033a5c 100644 --- a/tasks.php +++ b/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(); }