#109011Content edit permission error on page settings edit
Description
Environment:
- user in user group with `view page`, `edit page` and `add page` permissions but no `edit content` or `delete page`
If user wants to open the page settings of a page with an already existing related media file in resources tab, an error message with id 1437679657 is thrown.
This happens, because the check at https://github.com/TYPO3/typo3/blob/14.0/typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseUserPermissionCheck.php#L114-L134 will called twice. Once with `tableName = 'pages'` which is successful and second failing run with `tableName = sys_file_reference` because of the related media file. If I delete the related media file as admin and open the page settings again there is no second run and user can open without an error message.
This error happens since TYPO3 v6 but only now have we had time to take a closer look at it :) Tested in latest v12 and v13.
Reviews 1
Files 2
History 12
-
Garvin Hicking changed category <span data-processor="relativetime" data-value="2026-02-18T20:05:17+00:00" > 02/18/26, 20:05 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 97439 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-16T10:16:04+00:00" > 11/16/26, 10:16 </span>