]> wagnertech.de Git - timetracker.git/blobdiff - notification_delete.php
Access checks re-done using role rights.
[timetracker.git] / notification_delete.php
index 834befbe3439eeb4b0dfcc1847a5e9403faba164..0b6cf5ccc4862efa63235ad70875bad3849f31e3 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 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();
 }