projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Intoduced audit fields for expenses.
[timetracker.git]
/
task_add.php
diff --git
a/task_add.php
b/task_add.php
index
5ef549b
..
40eb488
100644
(file)
--- a/
task_add.php
+++ b/
task_add.php
@@
-33,7
+33,7
@@
import('ttTeamHelper');
import('ttTaskHelper');
// Access check.
import('ttTaskHelper');
// 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();
}