X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/351514c0823db572768c8f4d7f9dbb4fad81447c..a8084d2e767dd2ea7e57f2348a27d4fc2da42a6f:/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(); }