]> wagnertech.de Git - timetracker.git/blobdiff - week.php
Split data_entry right into track_time and track_expenses.
[timetracker.git] / week.php
index be89944c99ba3dbdc3a4c6558beabbfdd3a04059..6bd2d492c7fc1a9ec4fc90f878d60971fa2b47b3 100644 (file)
--- a/week.php
+++ b/week.php
@@ -39,7 +39,7 @@ import('ttTimeHelper');
 import('DateAndTime');
 
 // Access check.
-if (!ttAccessAllowed('data_entry') || !$user->isPluginEnabled('wv')) {
+if (!ttAccessAllowed('track_own_time') || !$user->isPluginEnabled('wv')) {
   header('Location: access_denied.php');
   exit();
 }