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_delete.php
diff --git
a/user_delete.php
b/user_delete.php
index
1f0a40d
..
f30ec8a
100644
(file)
--- a/
user_delete.php
+++ b/
user_delete.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttUserHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_users'
)) {
header('Location: access_denied.php');
exit();
}