Bug #104484
closed"Simulate user group" in AdminPanel not working, TYPO3 v12.4.17
100%
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 4 months ago
- Related to Bug #99119: "Simulate user group" in AdminPanel not working, TYPO3 v11.5.19 added
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]);
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
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
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
Updated by Bastien Lutz 4 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8f69ab611c987b63787d034875617a7ec9c69c20.