]> wagnertech.de Git - timetracker.git/blobdiff - expenses.php
Split data_entry right into track_time and track_expenses.
[timetracker.git] / expenses.php
index a6502fa17342ed2b7caa22c2d17a2c335ff930fa..ca681d4132ff1a29c9aef7222926e62bbac107f6 100644 (file)
@@ -34,7 +34,7 @@ import('DateAndTime');
 import('ttExpenseHelper');
 
 // Access check.
-if (!ttAccessAllowed('data_entry') || !$user->isPluginEnabled('ex')) {
+if (!ttAccessAllowed('track_own_expenses') || !$user->isPluginEnabled('ex')) {
   header('Location: access_denied.php');
   exit();
 }