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]
/
mobile
/
tasks.php
diff --git
a/mobile/tasks.php
b/mobile/tasks.php
index
8b828cf
..
1e8b40a
100644
(file)
--- a/
mobile/tasks.php
+++ b/
mobile/tasks.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttTeamHelper');
// Access check.
import('ttTeamHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) {
+if (!ttAccess
Allowed('manage_tasks'
) || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}