]> wagnertech.de Git - timetracker.git/blobdiff - notification_edit.php
Access checks re-done using role rights.
[timetracker.git] / notification_edit.php
index 8a2ab05630e417f88e549e9f8ce4d5f9fdef98fa..ec26f610b68f246b93beb3f19bb2b7ff3590357f 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();
 }