Bug #104629
open403 for pages in FE if admin-panel active and non-admin user opens page with no permission in BE
0%
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 (e.g. start page)
Now, we see a 403 error.
- Versions
- 12.4.18
Files
Updated by Sybille Peters 17 days 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
Updated by Sybille Peters 16 days ago
- Related to Bug #101589: Frontend page not accessible if be_user is logged in added
Updated by Sybille Peters 16 days ago
- Related to Bug #105866: Backend user access rights overrule frontend user access rights added
Updated by Sybille Peters 16 days 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"
Updated by Sybille Peters 16 days ago
- Related to Task #97176: Move BE_USER check of TSFE into middleware added
Updated by Sybille Peters 16 days ago
- Related to Task #102856: Streamline TypoScriptFrontendItitialization added