]> wagnertech.de Git - timetracker.git/blobdiff - client_add.php
Work in progress added more checks for access control.
[timetracker.git] / client_add.php
index 275a65eef1ee417d3762ad46f00f4f375dc28bb8..bd1516f16fecc8d05b564153140836f5d9ed3217 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();
 }