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]
/
role_edit.php
diff --git
a/role_edit.php
b/role_edit.php
index
99fbbc4
..
ea0699a
100644
(file)
--- a/
role_edit.php
+++ b/
role_edit.php
@@
-33,7
+33,7
@@
import('ttTaskHelper'); // TODO: remove this?
import('ttRoleHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_roles'
)) {
header('Location: access_denied.php');
exit();
}