projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some cleanup and refactoring of role_id update.
[timetracker.git]
/
user_add.php
diff --git
a/user_add.php
b/user_add.php
index
66d2f2d
..
69ee3b1
100644
(file)
--- a/
user_add.php
+++ b/
user_add.php
@@
-35,7
+35,7
@@
import('form.TableColumn');
import('ttRoleHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_users'
)) {
header('Location: access_denied.php');
exit();
}