public function shouldGenerateAlias($record, array $action = ['VIEW'])
    {
        // without security, everything is considered public
        if (null === $this->decisionManager) {
            return true;
        }

        return $this->decisionManager->decide(new AnonymousToken('main', 'anonymous'), $action, $record);
    }