26 if ($this->controller->isAdmin())
31 if (!Feature::isAccessControllerCheckingEnabled())
33 $userDepartments = $this->user->getUserDepartments();
35 if (empty($userDepartments))
40 return count($userDepartments) > 1 || $userDepartments[0] !== 0;
48 $params[
'item'] = $item;
50 return $this->
check($params);