Project

General

Profile

Actions

Bug #104484

closed

"Simulate user group" in AdminPanel not working, TYPO3 v12.4.17

Added by Nikolas Hagelstein 4 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2024-07-26
Due date:
% Done:

100%

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

Description

Steps to reproduce

- Create a page and set access to "Show at any login"
- Create a content element on this page an set fe_group access to a particular user group
- Hit "View webpage"
- Set "Simulate user group" to what ever fe user group you granted access to the content element to

Expected Behavior

Web page should be displayed as if you were a logged in fe user and member of that particular fe user group

Actual Behavior

Page displays as if you were not logged in at all.

Additional Information

Similar problem as in #99119
Except that adding the ADMCMD_simUser manually is not really helping because the the simulated user group gets lost.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99119: "Simulate user group" in AdminPanel not working, TYPO3 v11.5.19Closed2022-11-17

Actions
Actions #1

Updated by Georg Ringer 4 months ago

  • Related to Bug #99119: "Simulate user group" in AdminPanel not working, TYPO3 v11.5.19 added
Actions #2

Updated by Georg Ringer 4 months ago

  • Status changed from New to Accepted

also confirmed in 13

short solution there in UserAspect 123

- return $this->groups;
+ return array_merge($this->groups, [-2]);

Actions #3

Updated by Gerrit Code Review 4 months ago

  • Status changed from Accepted 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/+/85451

Actions #4

Updated by Gerrit Code Review 4 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/+/85451

Actions #5

Updated by Gerrit Code Review 4 months ago

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

Actions #6

Updated by Bastien Lutz 4 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF