Split data_entry right into track_time and track_expenses.
[timetracker.git] / time_delete.php
index 3b4d95c..0cdd881 100644 (file)
@@ -33,7 +33,7 @@ import('ttTimeHelper');
 import('DateAndTime');
 
 // Access check.
-if (!ttAccessAllowed('data_entry')) {
+if (!ttAccessAllowed('track_own_time')) {
   header('Location: access_denied.php');
   exit();
 }