Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress

97619[BUGFIX] Keep system maintainer role when switching user in dev

Georg Ringer CR 0 V 0 Normal +51 −4 updated 11/13/26, 18:00

Commit message

BackendUserAuthentication::isSystemMaintainer() returned false for
every user in "switch user" mode, before the development context was
evaluated. Admins who simulate another backend user in a development
context therefore lost the Install Tool modules, although every admin
is a system maintainer there.

The development context is now evaluated first, so admins keep the
system maintainer role in development context while simulating another
admin. In any other context, the user in "switch user" mode is still
no system maintainer.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/19/97619/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/19/97619/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 2

Review log 12

  1. Georg Ringer uploaded patch set 1 11/13/26, 15:30

  2. core-ci voted on patch set 1 V +1 11/13/26, 18:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114354