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