Project

General

Profile

Actions

Bug #104629

open

403 for pages in FE if admin-panel active and non-admin user opens page with no permission in BE

Added by Sybille Peters 7 months ago. Updated 11 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2024-08-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

This problem only occurs if "Show hidden pages" or "Show hidden records" is activated in admin panel (possibly also in other scenarios).

If all filters in the admin-panel settings are off, I cannot reproduce the problem.

I marked this as regression, because it appeared in v12, does not occur in v11.

Reproduce

1. Login or switchuser as non-admin user with restricted access (not all pages)
2. Open page in FE
3. Activate admin-panel, activate "Show hidden pages"
4. Click on a link to a page the user has no access to :
  • page is not in file mount
  • user has no read access (e.g. page has different owner and only permssions allowed for owner in Access module)

Now, we see a 403 error.

Versions

  • 12.4.18: reproduced (2024-08-15)
  • main (v14): reproduced (2025-03-06)

Files

adm.png (9.68 KB) adm.png Sybille Peters, 2024-08-15 09:07

Related issues 6 (3 open3 closed)

Related to TYPO3 Core - Bug #101589: Frontend page not accessible if be_user is logged inUnder Review2023-08-05

Actions
Related to TYPO3 Core - Bug #105866: Backend user access rights overrule frontend user access rightsNeeds Feedback2024-12-28

Actions
Related to TYPO3 Core - Task #97176: Move BE_USER check of TSFE into middlewareClosedBenni Mack2022-03-13

Actions
Related to TYPO3 Core - Task #102856: Streamline TypoScriptFrontendItitializationClosed2024-01-18

Actions
Related to TYPO3 Core - Bug #87392: Subpages of hidden pages with extendToSubpages activated cannot be accessed even with backend loginClosed2019-01-10

Actions
Related to TYPO3 Core - Bug #106336: 403 Page Not Found when previewing not hidden page of hidden parent, both with extendToSubpages=1Under Review2025-03-07

Actions
Actions #1

Updated by Sybille Peters about 2 months ago

I can reproduce this with the latest v14 version as well (dev-main).

Same as described above, if the admin-panel is enabled and Preview "Show hidden pages" is active and the user clicks on a page he does not have access to.

hint: must set user tsconfig:

admPanel.enable.all = 1

Actions #2

Updated by Sybille Peters about 2 months ago

  • Related to Bug #101589: Frontend page not accessible if be_user is logged in added
Actions #3

Updated by Sybille Peters about 2 months ago

  • Related to Bug #105866: Backend user access rights overrule frontend user access rights added
Actions #4

Updated by Sybille Peters about 2 months ago

There are some related issue (see above under "Related issues").

Info from core Slack Stefan:

"not the same, but related. The adminpanel influences the frontend preview settings (show/hide hidden records) - can view hidden pages in the frontend etc.
And the place in the latest patch relates to "fe user <-> be user" setting which is basic requirement for adminpanel anyway. All of these operates on same things, and at least are related and needs to be analyzed together and not each on it's own"

Actions #5

Updated by Sybille Peters about 2 months ago

  • Related to Task #97176: Move BE_USER check of TSFE into middleware added
Actions #6

Updated by Sybille Peters about 2 months ago

  • Related to Task #102856: Streamline TypoScriptFrontendItitialization added
Actions #7

Updated by Sybille Peters 11 days ago

  • Description updated (diff)
Actions #8

Updated by Sybille Peters 11 days ago

patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/80405 resolves issue (tested with patchset 6)

Actions #9

Updated by Sybille Peters 11 days ago

  • Related to Bug #87392: Subpages of hidden pages with extendToSubpages activated cannot be accessed even with backend login added
Actions #10

Updated by Sybille Peters 10 days ago

  • Related to Bug #106336: 403 Page Not Found when previewing not hidden page of hidden parent, both with extendToSubpages=1 added
Actions

Also available in: Atom PDF