]> wagnertech.de Git - timetracker.git/blobdiff - notifications.php
Added more access control checks.
[timetracker.git] / notifications.php
index 6a66b2f755bc72dfea4c2db4d28be4437ff39220..68cdfff8b5bc2a678c9846c04d82071a6a77f14a 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) {
   header('Location: access_denied.php');
   exit();
 }