Issue Bug Under Review

#104081Frontend "preview" notice wrongly always shown

Jan Kornblum 06/13/24, 06:41 updated 11/19/26, 09:37

Description

When accessing restricted pages (fe_group) as a logged in frontend user (fe_user), and there is simultaneously an existing backend user session, the “preview” notice is always shown in frontend for those restricted pages. As soon as the backend user is logged out, no “preview” message is shown for the same page. There is no “ADMCMD_simUser=123” involved (not using the backend preview function), it happens by just calling the frontend pages directly.

My setup:

+ Start (Shortcut first subpage)
+--- TreeA (fe_group set, extendToSubpages set)
+----- PageA
+----- PageB
+----- PageC
+--- Login

Now accessing any page inside “TreeA” as a logged in frontend user (while simultaneously logged into the backend), will show the “preview” message.

Reviews 3

History 312

  1. Moritz Noll commented <span data-processor="relativetime" data-value="2025-11-13T08:50:09+00:00" > 11/13/25, 08:50 </span>

    What is the current status here? Will the fix appear in v12?

  2. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-11-13T19:45:11+00:00" > 11/13/25, 19:45 </span>

    Doing this fix for v12 is quite unlikely. Check out the atttached patch, maybe it applies to v12 even. Then you could give feedback on the patch, ideally on herrit, but otherwise also here.