]> wagnertech.de Git - timetracker.git/blobdiff - locking.php
Access checks re-done using role rights.
[timetracker.git] / locking.php
index f2b7779b522c0bc437610ca3d95e7c7475f1cb6f..1f9530c97a753de6cda024bd6717b4c65c60f376 100644 (file)
@@ -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();
 }