projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unused function.
[timetracker.git]
/
project_edit.php
diff --git
a/project_edit.php
b/project_edit.php
index
9cca73e
..
d7b6756
100644
(file)
--- a/
project_edit.php
+++ b/
project_edit.php
@@
-32,7
+32,7
@@
import('ttProjectHelper');
import('ttTeamHelper');
// Access check.
import('ttTeamHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_projects') || (MODE_PROJECTS != $user->tracking_mode && MODE_PROJECTS_AND_TASKS != $user->tracking_mode
)) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}