projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Access checks re-done using role rights.
[timetracker.git]
/
mobile
/
user_add.php
diff --git
a/mobile/user_add.php
b/mobile/user_add.php
index
24adc11
..
7737ed9
100644
(file)
--- a/
mobile/user_add.php
+++ b/
mobile/user_add.php
@@
-34,7
+34,7
@@
import('form.Table');
import('form.TableColumn');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_users'
)) {
header('Location: access_denied.php');
exit();
}