Review main Ready for review

98133[BUGFIX] Apply history scope limit after permission checks

Amir Arends CR 0 V 0 Easy +29 −8 updated 11/28/26, 05:51

Commit message

findEventsForScope() limited the query before entries the user
must not see were filtered out. A limited lookup could return
fewer entries than requested, or none at all, although visible
entries of that operation exist.

The limit is now applied to the entries the user may see.

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

Files 3

Review log 12

  1. Amir Arends uploaded patch set 1 11/28/26, 05:45

  2. core-ci voted on patch set 1 V +1 11/28/26, 05:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115772