projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished improving access checks by providing separate error msg for disabled features.
[timetracker.git]
/
users.php
diff --git
a/users.php
b/users.php
index
8602186
..
35fd416
100644
(file)
--- a/
users.php
+++ b/
users.php
@@
-33,7
+33,7
@@
import('ttTimeHelper');
import('ttRoleHelper');
// Access check.
import('ttRoleHelper');
// Access check.
-if (!
ttAccessAllowed('view_users'
)) {
+if (!
(ttAccessAllowed('view_users') || ttAccessAllowed('manage_users')
)) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}