X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=timesheet_add.php;h=9e6b9acd073009e408fac5e997595f606bc00087;hb=1e2a1839bd4b4530a43dfcdc3f0582623edd5486;hp=fa8ec4f89ccefef0c45efbb331990ed7f4db54bc;hpb=8e930ac814c5ac5946d0a6c1124c61d7e2883cd1;p=timetracker.git diff --git a/timesheet_add.php b/timesheet_add.php index fa8ec4f8..9e6b9acd 100644 --- a/timesheet_add.php +++ b/timesheet_add.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTimesheetHelper'); // Access checks. -if (!(ttAccessAllowed('manage_own_timesheets') || ttAccessAllowed('manage_timesheets'))) { +if (!(ttAccessAllowed('manage_own_timesheets') || ttAccessAllowed('manage_timesheets') || ttAccessAllowed('manage_all_timesheets'))) { header('Location: access_denied.php'); exit(); }