]> wagnertech.de Git - timetracker.git/blobdiff - time_edit.php
Started to replace canManageTeam calls with right checks.
[timetracker.git] / time_edit.php
index 58d963fb30177ce58fd96efa8d6396c1e7435f53..3f2035c98aea4d3d1aa6053d2dc778446a7cc3c7 100644 (file)
@@ -35,7 +35,7 @@ import('ttTimeHelper');
 import('DateAndTime');
 
 // Access check.
-if (!ttAccessCheck(right_data_entry)) {
+if (!ttAccessAllowed('track_own_time')) {
   header('Location: access_denied.php');
   exit();
 }