projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More improvements to access checks.
[timetracker.git]
/
topdf.php
diff --git
a/topdf.php
b/topdf.php
index
b8f6684
..
3177d15
100644
(file)
--- a/
topdf.php
+++ b/
topdf.php
@@
-36,7
+36,7
@@
import('form.ActionForm');
import('ttReportHelper');
// Access check.
-if (!
ttAccessAllowed('view_own_reports'
)) {
+if (!
(ttAccessAllowed('view_own_reports') || ttAccessAllowed('view_reports')
)) {
header('Location: access_denied.php');
exit();
}