]> wagnertech.de Git - timetracker.git/blobdiff - timesheet_add.php
More work in progress on timesheets, simplifying access rights.
[timetracker.git] / timesheet_add.php
index c450695efe506102856158aee652b0406279a9bf..294886be754ece683846bd8441d0c54bdddf51f0 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttTimesheetHelper');
 
 // Access checks.
-if (!(ttAccessAllowed('manage_own_timesheets') || ttAccessAllowed('manage_timesheets') || ttAccessAllowed('manage_all_timesheets'))) {
+if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) {
   header('Location: access_denied.php');
   exit();
 }