projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed users page for revamped roles.
[timetracker.git]
/
week_view.php
diff --git
a/week_view.php
b/week_view.php
index
7c722da
..
99dc2ee
100644
(file)
--- a/
week_view.php
+++ b/
week_view.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttTeamHelper');
// Access check.
import('ttTeamHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('wv')) {
+if (!ttAccess
Allowed('manage_advanced_settings'
) || !$user->isPluginEnabled('wv')) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}