* * This is being shown in case you have access. * * * This is being displayed in case you do not have access. * * * ``` * * @see https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-security-ifauthenticated */ final class IfAuthenticatedViewHelper extends AbstractConditionViewHelper { public static function verdict(array $arguments, RenderingContextInterface $renderingContext): bool { return GeneralUtility::makeInstance(Context::class)->getPropertyFromAspect('frontend.user', 'id', 0) > 0; } }