Project

General

Profile

Actions

Bug #52386

closed

checkRecordInsertAccess should also look for ignoreRootLevelRestriction

Added by Benjamin Serfhos about 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-09-30
Due date:
% Done:

100%

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

Description

I made an extension where users should be able to insert an record in the root page (0).

I found the configuration ['ctrl']['security']['ignoreRootLevelRestriction'], which can be enabled. But the datahandler function checkRecordInsertAccess, does not check this configuration for the root level.

Can a checkup be inserted in the following file:
typo3/sysext/core/Classes/DataHandling/DataHandler.php

For fix, see: http://pastebin.com/KBhznsbu


Files

52386-TYPO3_6-1-7.patch (7.4 KB) 52386-TYPO3_6-1-7.patch Patch for TYPO3 6.1.7 Leon de Rijke, 2014-02-26 10:52
Actions

Also available in: Atom PDF