projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A bit more progress on getting rid of canManageTeam.
[timetracker.git]
/
mobile
/
client_add.php
diff --git
a/mobile/client_add.php
b/mobile/client_add.php
index
56f5d08
..
71f51ca
100644
(file)
--- a/
mobile/client_add.php
+++ b/
mobile/client_add.php
@@
-32,7
+32,7
@@
import('ttClientHelper');
import('ttTeamHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_clients') || !$user->isPluginEnabled('cl'
)) {
header('Location: access_denied.php');
exit();
}