Document / Call out that this generates solely for Anonymous users

Created on 16 May 2025, about 2 months ago

Problem/Motivation

When reviewing this, we were briefly concerned this would generate HTML from an authenticated users who may have toolbars or different menu options we do not want rendered for authenticated users.

The generation of HTML is indeed restricted to $this->currentUser->isAnonymous(), so no actual concerns there, but it's probably worth calling that out.

Steps to reproduce

Search readme and document page for the words "anonymous", "authenticated" or "fast404_anonymous_only" (fast 404 setting for anonymous only) and there is no mention of it.

Proposed resolution

Update documentation to just call this out for folks. Maybe add some info from the module page to the readme documentation about the entire module as well. Consider recommending fast404_anonymous_only setting to be true as well since that's the (good) approach this module seems built to work with as well.

Remaining tasks

-Update documentation.
-Update Readme
-Maybe add a help page?

User interface changes

-None

API changes

-None

Data model changes

-None

πŸ“Œ Task
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jnicola

Live updates comments and jobs are added and updated live.
  • Documentation

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024