#110365Localization wizard: non-admin editors cannot translate file metadata (sys_file_metadata) - AJAX endpoints return 403
Description
Environment
- TYPO3 version: 14.3.5
- PHP: 8.3
- User: any non-admin backend user (editor) with `tables_modify` on `sys_file_metadata` and access to the target language
Summary
Since the modernized translation workflow was introduced in v14 (Feature #108049), the localization wizard is the default way to translate records, including file metadata in the Filelist module (button <default_language> -> “Create new translation <target_language>“</target_language></default_language>).
For non-admin editors this wizard is broken for file metadata: it opens, but stops at the “Select source language” step with the message “No source languages available.”. As an admin the same action works and the wizard completes.
Steps to reproduce
- Log in as an admin and create/prepare a non-admin backend user (e.g. an “Editor” group) that has:
– `tables_modify` including `sys_file_metadata`
– a file mount and file permissions
– access to at least one non-default site language (e.g. English) - Log in as that non-admin editor.
- Open the Filelist module in a folder, upload/create any file (e.g. a `.txt` file). The default-language `sys_file_metadata` record is created automatically.
- In the file row open Translations -> “Create metadata of this file for English”.
Expected result
The localization wizard offers the available target/source languages and lets the editor create the English metadata translation, exactly as it does for an admin, and exactly as the pre-v14 “translate metadata” flow did.
Actual result
The wizard stops at step 2 with “No source languages available.”. The network log shows two (and, one step later, a third) AJAX requests returning HTTP 403: