Review main Ready for review

97893[BUGFIX] Respond with 403 for locked Install Tool login actions

Nikita Hovratov CR 0 V 0 Normal +98 −3 updated 11/23/26, 13:43

Commit message

When the Install Tool is locked (no ENABLE_INSTALL_TOOL file), the
actions showLogin, checkLogin and login threw a RuntimeException.
Any unauthenticated GET request could trigger them, resulting in an
HTTP 500 and noise in exception logs and error monitoring.

A locked Install Tool is an expected state, so these requests are now
denied with an HTTP 403 response, as already done for backend users
whose maintainer rights were revoked.

The Install Tool UI is not affected, as it calls preAccessCheck first
and does not reach these actions while the tool is locked.

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/93/97893/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/93/97893/1 && git cherry-pick FETCH_HEAD

Review

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

Merge conflicts 2

Issues 1

Files 2

Review log 12

  1. Nikita Hovratov uploaded patch set 1 11/23/26, 13:37

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