Project

General

Profile

Actions

Bug #75147

closed

Creating new record on root level is automatically thrown as exception

Added by Benjamin Serfhos over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
Start date:
2016-03-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF