/** * Check bean ACLs * @param string $module * @param string $action * @param array $context */ protected function beanACL($module, $action, $context) { $accessGranted = $this->portalAccess($module, $action, $context); if (!isset($accessGranted)) { $accessGranted = parent::beanACL($module, $action, $context); } return $accessGranted; }