]> wagnertech.de Git - timetracker.git/blobdiff - timesheet_edit.php
More work in progress on timesheets, simplifying access rights.
[timetracker.git] / timesheet_edit.php
index 1708bdf7c7a8891fa156bd9a79d8b35989e0ccd6..d275ce5f8fb9d9bf167b5271092212256e5d8f62 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();
 }