projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ongoing process of renaming team to group.
[timetracker.git]
/
mobile
/
users.php
diff --git
a/mobile/users.php
b/mobile/users.php
index
131d2b4
..
18ad2e5
100644
(file)
--- a/
mobile/users.php
+++ b/
mobile/users.php
@@
-31,11
+31,12
@@
import('form.Form');
import('ttTeamHelper');
import('ttTimeHelper');
import('ttTeamHelper');
import('ttTimeHelper');
-// Access check.
-if (!
ttAccessAllowed('view_users'
)) {
+// Access check
s
.
+if (!
(ttAccessAllowed('view_users') || ttAccessAllowed('manage_users')
)) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}
+// End of access checks.
// Get users.
$active_users = ttTeamHelper::getActiveUsers(array('getAllFields'=>true));
// Get users.
$active_users = ttTeamHelper::getActiveUsers(array('getAllFields'=>true));