Review 14.3 Merged

97834[BUGFIX] Skip group simulation for group members

Benni Mack CR +2 V +2 Normal +109 −0 updated 11/19/26, 10:25

Commit message

A backend preview link of an access restricted page carries
ADMCMD_simUser, and while a backend user is logged in, the parameter is
kept on every link generated in the frontend.

If a frontend user is logged in as well and is already member of the
simulated group, the simulation still replaced the user ID with a fake
one, overwrote the usergroup field and flagged the request as preview.
The visitor then saw a preview with a fake user instead of the page as
the real frontend user.

The simulation is now skipped if all simulated groups are already part
of the current frontend user aspect.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 2

Files 3

Review log 46

  1. Benni Mack commented on patch set 1 11/19/26, 09:37

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 11/19/26, 09:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114986

  3. Benni Mack commented on patch set 2 V -1 11/19/26, 09:49

    Published edit on patch set 1.
  4. core-ci voted on patch set 2 V +1 11/19/26, 10:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114989

  5. Benni Mack voted on patch set 2 CR +2 V +2 11/19/26, 10:25

  6. Benni Mack merged patch set 3 11/19/26, 10:25