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]
/
user_edit.php
diff --git
a/user_edit.php
b/user_edit.php
index
f890282
..
493b00b
100644
(file)
--- a/
user_edit.php
+++ b/
user_edit.php
@@
-36,7
+36,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();
}