]> wagnertech.de Git - timetracker.git/blobdiff - time_delete.php
More improvements to access checks.
[timetracker.git] / time_delete.php
index 2ad3ea4125dfee9daa1da0bf9d980c6c2ecac3e6..ec3c677cc318272eb9d94e7c77094fe3027aad68 100644 (file)
@@ -33,7 +33,7 @@ import('ttTimeHelper');
 import('DateAndTime');
 
 // Access check.
-if (!ttAccessAllowed('track_own_time')) {
+if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) {
   header('Location: access_denied.php');
   exit();
 }