projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduced ttAdmin class for admin tasks.
[timetracker.git]
/
users.php
diff --git
a/users.php
b/users.php
index
354ea1d
..
28a3722
100644
(file)
--- a/
users.php
+++ b/
users.php
@@
-30,9
+30,10
@@
require_once('initialize.php');
import('form.Form');
import('ttTeamHelper');
import('ttTimeHelper');
+import('ttRoleHelper');
// Access check.
-if (!ttAccess
Check(right_data_entry
)) {
+if (!ttAccess
Allowed('view_users'
)) {
header('Location: access_denied.php');
exit();
}