#105132Allow Editors to edit file reference of file metadata
Description
For video files I created a new thumbnail field in the sys_file_metadata table. The editor can add there a new file reference. But he can not delete it, beacause the file reference has pid=0. Therefore vendor/typo3/cms-core/Classes/Authentication/BackendUserAuthentication.php:553 isInWebMount() fails.
I would like to use the CALCPERMS hook. But this is later used in the function.
$GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘t3lib/class.t3lib_userauthgroup.php’][‘calcPerms’]
Is it possible to set the the hook first?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 3
- Bug #99516Editors can't delete or disable file references attached to sys_file_metadata
- Bug #106800Filelist offers to create new file metadata but the user does not have sufficient permission to create it
- Bug #110672Filelist "Create metadata of this file for X" fails for non-admin users ("No source languages available")
History 4
-
Georg Ringer changed Related to #106800 <span data-processor="relativetime" data-value="2026-11-14T13:41:20+00:00" > 11/14/26, 13:41 </span>
-
Georg Ringer changed Related to #110672 <span data-processor="relativetime" data-value="2026-11-14T13:41:25+00:00" > 11/14/26, 13:41 </span>
-
Benni Mack changed Related to #99516 <span data-processor="relativetime" data-value="2026-11-15T14:02:07+00:00" > 11/15/26, 14:02 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-11-15T20:01:56+00:00" > 11/15/26, 20:01 </span>
This is solved by #99516: the delete control of a file reference is now rendered for non-admin users if the parent record has no page, like
sys_file_metadataon pid 0. It is fixed in main (change 85110) and in 14.3 (change 97583).I verified it on main in the backend with a non-admin editor who may modify
sys_file_referenceand has a custom file reference field onsys_file_metadata:No additional hook or permission handling is needed any more, so I am closing this issue. Please follow #99516 for further details.