X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locking.php;h=1f9530c97a753de6cda024bd6717b4c65c60f376;hb=f340e538c5e269b9035905e808220a5683b079c4;hp=f2b7779b522c0bc437610ca3d95e7c7475f1cb6f;hpb=bb21bc0fbb60be85b7d1eab90e6dd7c33aec7d0a;p=timetracker.git diff --git a/locking.php b/locking.php index f2b7779b..1f9530c9 100644 --- a/locking.php +++ b/locking.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('lk')) { +if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('lk')) { header('Location: access_denied.php'); exit(); }