[BUGFIX] Ignore root level restriction on new record 90/47290/8
authorBenjamin Serfhos <serfhos@gmail.com>
Wed, 16 Mar 2016 14:16:05 +0000 (15:16 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 18 Mar 2016 09:55:52 +0000 (10:55 +0100)
commit9a64143a3efab4628d482480f8c25a8ed34a5109
treede7f7534ce14cb582fbf57d84153cdd86142e4a0
parenta0cd456491740ae3adee1206d193f2f67b6677b1
[BUGFIX] Ignore root level restriction on new record

When TCA [ctrl][security][ignoreRootLevelRestriction] is enabled, the
root level should be ignored on creation too.

Resolves: #75147
Releases: master,7.6
Change-Id: I55414696838a256d967d410cf523edc031ebe952
Reviewed-on: https://review.typo3.org/47290
Tested-by: Benjamin Serfhos <serfhos@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseUserPermissionCheck.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php