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

Review main Ready for review

98171[BUGFIX] Require content edit permission to localize content

Benni Mack CR 0 V 0 Normal +150 −1 updated 11/28/26, 22:25

Commit message

The "Translate" button in the language columns of the page module was
shown to every editor allowed to modify tt_content, even on pages
without the "edit content" permission. The localization wizard then
accepted the request with mere "show" permission and the translation
failed in DataHandler. The records module offered its localization
buttons the same way, also for pages the editor may not edit.

The buttons are now only rendered when the user may edit content on
the page, respectively edit the page itself, and the localize
endpoint of the wizard rejects requests that translate content
without that permission.

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

Review log 24

  1. Benni Mack uploaded patch set 1 11/28/26, 21:37

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

  3. Benni Mack uploaded patch set 2 V +1 11/28/26, 22:18

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