[BUGFIX] Verify folder access for file mounts of BE users 54/47454/5
authorBenni Mack <benni@typo3.org>
Thu, 31 Mar 2016 08:44:09 +0000 (10:44 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 5 Jul 2016 16:19:33 +0000 (18:19 +0200)
commit30d99021b9dbee9a43547c3dfddf6be7591389ee
tree638330190e3924b09dec1edcf9d59b62e54ade99
parent76ebf8c6afb6256df8f79e3034e46c1767aaa94d
[BUGFIX] Verify folder access for file mounts of BE users

The current implementation does not allow non-admins backend
users to import files as the folder access always returns false
due to the empty $mounts variable inside BasicFileFunc.

As FAL does the permission checks automatically, the logic
from BasicFileFunc is not needed anymore, and can be
accessed directly.

Resolves: #75331
Releases: master
Change-Id: I0211286cc6ae939229a0d7eb45adc89d1600d635
Reviewed-on: https://review.typo3.org/47454
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/impexp/Classes/ImportExport.php