]> wagnertech.de Git - timetracker.git/blobdiff - client_edit.php
Work in progress added more checks for access control.
[timetracker.git] / client_edit.php
index c7ad1581e0b68b4ef5553d311448b1ca6c823c36..2b408c5da54195ff096101516c17817f3ab6b449 100644 (file)
@@ -32,7 +32,7 @@ import('ttClientHelper');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cl')) {
   header('Location: access_denied.php');
   exit();
 }