[BUGFIX] Prevent root folder listing for users 89/39089/4
authorNicole Cordes <typo3@cordes.co>
Thu, 30 Apr 2015 13:15:05 +0000 (15:15 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Sat, 2 May 2015 19:44:53 +0000 (21:44 +0200)
commitb2443a9e49d07a2be0402937c3bc3da848318a2a
treeb17173164879a5ac99be00d7b2f9b3a8ae392cee
parenta48e1574e7f8626a32be5c4dec7a53ec0b146e08
[BUGFIX] Prevent root folder listing for users

If a user hasn't any file mount defined or the defined file mounts
don't exist the root folder of the storage is shown. To prevent
disallowed listing of folders only admin users are allowed see and
browse root folder and editors get an information that no file mounts
are configured.

Releases: master, 6.2
Resolves: #66687
Change-Id: I301d05773f10885351034dae2b0bbd16ac20ac55
Reviewed-on: http://review.typo3.org/39089
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
typo3/sysext/backend/Resources/Private/Language/locallang.xlf