]> wagnertech.de Git - timetracker.git/blobdiff - time.php
More improvements to access checks.
[timetracker.git] / time.php
index 270a8aaef0c23efed927ae1520a2f7621418c4f3..1c29aa8f6b59e755ac9de62182c0ae0b3bc4f100 100644 (file)
--- a/time.php
+++ b/time.php
@@ -42,7 +42,7 @@ import('DateAndTime');
 // }
 
 // Access check.
-if (!ttAccessAllowed('track_own_time')) {
+if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) {
   header('Location: access_denied.php');
   exit();
 }