summaryrefslogtreecommitdiff
path: root/app/Model/Acl.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Acl.php')
-rw-r--r--app/Model/Acl.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Model/Acl.php b/app/Model/Acl.php
index 0d26edc4..d717e12f 100644
--- a/app/Model/Acl.php
+++ b/app/Model/Acl.php
@@ -189,10 +189,6 @@ class Acl extends Base
public function isManagerActionAllowed($project_id)
{
- if ($this->userSession->isAdmin()) {
- return true;
- }
-
return $project_id > 0 && $this->projectPermission->isManager($project_id, $this->userSession->getId());
}