Actions
Bug #104484
open"Simulate user group" in AdminPanel not working, TYPO3 v12.4.17
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.
Updated by Georg Ringer about 6 hours ago
- Related to Bug #99119: "Simulate user group" in AdminPanel not working, TYPO3 v11.5.19 added
Updated by Georg Ringer about 5 hours 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