Project

General

Profile

Actions

Bug #104484

open

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

Added by Nikolas Hagelstein about 23 hours ago. Updated 39 minutes ago.

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

0%

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 about 1 hour ago

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

Updated by Georg Ringer 39 minutes 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

Also available in: Atom PDF