]> wagnertech.de Git - timetracker.git/blobdiff - notification_add.php
Access checks re-done using role rights.
[timetracker.git] / notification_add.php
index 9f5bf361c72fb6c4767efe4d3c46fda8ecca172e..3cac65217adb0e9d57a9855db765edb7cec3e471 100644 (file)
@@ -34,7 +34,7 @@ import('ttFavReportHelper');
 import('ttNotificationHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) {
+if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('no')) {
   header('Location: access_denied.php');
   exit();
 }