]> wagnertech.de Git - timetracker.git/blobdiff - timesheet_delete.php
More work in progress on timesheets, simplifying access rights.
[timetracker.git] / timesheet_delete.php
index e4bf453c504b896be87a35c46d67f5c95d045b82..5e98a6cc97508244a9dea73f4a5e8db26b10fc02 100644 (file)
@@ -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();
 }