Project

General

Profile

Actions

Bug #104081

open

Frontend "preview" notice wrongly always shown

Added by Jan Kornblum 5 months ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Frontend
Start date:
2024-06-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
fe_user, preview, frontend
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Jan Kornblum 5 months ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84998

Actions #3

Updated by Gerrit Code Review 5 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84998

Actions #4

Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84998

Actions

Also available in: Atom PDF