]> wagnertech.de Git - timetracker.git/blobdiff - mobile/time.php
Started to replace canManageTeam calls with right checks.
[timetracker.git] / mobile / time.php
index aff21379884f38bcd040ba376d44af5d3c3a426c..1a4b235c8b39eeb45fa1b3ad0109df289d119553 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();
 }