]> wagnertech.de Git - timetracker.git/blobdiff - mobile/client_edit.php
Access checks re-done using role rights.
[timetracker.git] / mobile / client_edit.php
index ac3e60c71a2b8fb79816d838edfd4404075db518..fc22036975f92dcf3067e51ba76caa95e3c9880c 100644 (file)
@@ -32,7 +32,7 @@ import('ttClientHelper');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cl')) {
+if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) {
   header('Location: access_denied.php');
   exit();
 }