X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/351514c0823db572768c8f4d7f9dbb4fad81447c..5897ea0d3efe16a50706bcf1bde8d33044b5cf5f:/timesheet_edit.php diff --git a/timesheet_edit.php b/timesheet_edit.php index 1708bdf7..d275ce5f 100644 --- a/timesheet_edit.php +++ b/timesheet_edit.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTimesheetHelper'); // Access checks. -if (!(ttAccessAllowed('manage_own_timesheets') || ttAccessAllowed('manage_timesheets'))) { +if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) { header('Location: access_denied.php'); exit(); }