diff --git a/src/Controller/Component/ACLComponent.php b/src/Controller/Component/ACLComponent.php index 0178a1e..3f7ba20 100644 --- a/src/Controller/Component/ACLComponent.php +++ b/src/Controller/Component/ACLComponent.php @@ -386,9 +386,6 @@ class ACLComponent extends Component if (!$currentUser['role']['perm_org_admin']) { return false; } else { - if ($currentUser['id'] == $user['id']) { - return true; - } if ($currentUser['organisation_id'] === $user['organisation_id']) { return true; }