Issue Bug Closed

#75147Creating new record on root level is automatically thrown as exception

Benjamin Serfhos 03/16/16, 15:06 updated 10/02/18, 11:18

Description

When simple users are creating a new record on rootlevel (via an own module) the backend directly throws an exception.

The TCA configuration [security][ignoreRootLevelRestriction] should bypass this lookup per table.
See https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#security-related-configuration

For editing the record it works as intended.

Problem lies in Exception (#1437745221); sysext/backend/Classes/Form/FormDataProvider/DatabaseUserPermissionCheck.php:106.

The elseif (BackendUtility::isRootLevelRestrictionIgnored($result[‘tableName’])) is missing for new records.

Reviews 2