Actions
Task #100109
openSuperfluous access permission checks in InlineRecordContainer and FileReferenceContainer
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2023-03-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
When inside \TYPO3\CMS\Backend\Form\Container\InlineRecordContainer or \TYPO3\CMS\Backend\Form\Container\FileReferenceContainer, TYPO3 always checks access permissions on the same parent table with BackendUtility::readPageAccess().
The more inline records you have in your record, the more superfluous queries are executed for exactly the same permission check again and again.
This permission check needs to be cached somehow.
Actions