X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notifications.php;h=4205dffaf66b28ea52c8122da23d64ff51d8542f;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=68cdfff8b5bc2a678c9846c04d82071a6a77f14a;hpb=3ad790a3d4bc23cb23f7ee072171ca6ef987eb56;p=timetracker.git diff --git a/notifications.php b/notifications.php index 68cdfff8..4205dffa 100644 --- a/notifications.php +++ b/notifications.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) { +if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('no')) { header('Location: access_denied.php'); exit(); }