#75748Editor can't remove images attached to other images
Description
I’ve created an additional field for files (sys_file_metadata of FAL) which allows to add an image (also FAL) to a file.
I intended to allow the editor choosing a preview image for documents.
At first i got a php exception, described here: https://forge.typo3.org/issues/75147
After including the patch, everything works good for the admin but the editor is unable to remove (,hide, move) images.
Adding new images is possible for editors with no problems.
The reson is that sys_file_reference entries are on pid 0, where the editor is not allowed to remove them.
I think this is close to this issue: https://forge.typo3.org/issues/57515
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.