public checkPermissions ( $args ) |
public function checkPermissions(...$args)
{
if ($this->getScope() === ScopeInterface::SCOPE_ENVIRONMENT && isset($args[0]) && $args[0] == Acl::RESOURCE_ANALYTICS_ACCOUNT && empty($args[1])) {
return;
}
parent::checkPermissions(...$args);
}