X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/decf7058c3d2cc57fa2f814f33e7c09b264ff854..a3d07d9fe0c01738c69c6ea37220f3feb4395912:/timesheet_add.php 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(); }