[BUGFIX] Ignore root level restriction on new record 14/47314/2
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:57:29 +0000 (10:57 +0100)
commit9f51f8522cc1dbb35484b489b460cb0cb044083d
tree3aac6e01a013a1f3c04cfb400cd725478cb161dd
parent2eb4d9cde6155508d43314996e3b0950ab0f3608
[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/47314
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