projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few bugs fixed related to role revamp.
[timetracker.git]
/
quotas.php
diff --git
a/quotas.php
b/quotas.php
index
52d8136
..
06fdbbe
100644
(file)
--- a/
quotas.php
+++ b/
quotas.php
@@
-33,7
+33,7
@@
import('ttTeamHelper');
import('ttTimeHelper');
// Access check.
import('ttTimeHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('mq')) {
+if (!ttAccess
Allowed('manage_advanced_settings'
) || !$user->isPluginEnabled('mq')) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}