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]
/
week.php
diff --git
a/week.php
b/week.php
index
1945324
..
be89944
100644
(file)
--- a/
week.php
+++ b/
week.php
@@
-39,7
+39,7
@@
import('ttTimeHelper');
import('DateAndTime');
// Access check.
-if (!ttAccess
Check(right_data_entry
) || !$user->isPluginEnabled('wv')) {
+if (!ttAccess
Allowed('data_entry'
) || !$user->isPluginEnabled('wv')) {
header('Location: access_denied.php');
exit();
}