[BUGFIX] Check access to folder in FileListController 11/40411/3
authorNicole Cordes <typo3@cordes.co>
Thu, 30 Apr 2015 16:12:27 +0000 (18:12 +0200)
committerNicole Cordes <typo3@cordes.co>
Thu, 16 Jul 2015 09:36:54 +0000 (11:36 +0200)
commit57ba6d36031372bd591a5cac123a37f9cc42d864
tree5294694da3553c7cda00e04647567dbb6e152b6f
parent69438f57b3df69f6a8b6428bb101984406b80476
[BUGFIX] Check access to folder in FileListController

Currently if a folder isn't accessible for the user, the root folder
is taken as fallback solution. But this folder might be inaccessible as
well. This patch adds an access check for the returned folder and
turns thrown errors into flash messages.

Releases: master, 6.2
Resolves: #66693
Resolves: #56641
Change-Id: I310df8061edc790dde1034a27136365b4253ac7f
Reviewed-on: http://review.typo3.org/40411
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Resource/Folder.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/lang/locallang_mod_file_list.xlf