X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bb21bc0fbb60be85b7d1eab90e6dd7c33aec7d0a..21682f141034f82653bc41b56eaabdf490d5a9dc:/locking.php 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(); }