#107379Editing of file metadata in workspace not possible as editor
Description
If an editor is in a workspace and tries to edit the metadata of a file, an error is thrown in the backend:
Exception: #1578950324: The given page record is invalid. Missing uid.
The error is not thrown as an admin and also not, if a versionized record of the file metadata already exist (created by admin user).
The error comes from permission checks when creating a versionized record. As file metadata has pid=0, a page record could not be determined in \TYPO3\CMS\Core\DataHandling\Datahandler::versionizeRecord.
The error occurres in 13.4.17 and seems similar to Bug #106569