]> wagnertech.de Git - timetracker.git/blobdiff - mobile/user_add.php
Access checks re-done using role rights.
[timetracker.git] / mobile / user_add.php
index 24adc112715d37a29f70e9e9db1b1a6fba7c90cd..7737ed9a8d8f33ec77f9c35476e86faafcfa5040 100644 (file)
@@ -34,7 +34,7 @@ import('form.Table');
 import('form.TableColumn');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessAllowed('manage_users')) {
   header('Location: access_denied.php');
   exit();
 }