[BUGFIX] Re-introduce read-only file mounts 85/30685/19
authorLorenz Ulrich <lorenz.ulrich@visol.ch>
Mon, 23 Jun 2014 13:41:17 +0000 (15:41 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 8 Jul 2014 09:31:40 +0000 (11:31 +0200)
commitb3772d29bebb39272ac67790bd318aded9a85b81
tree62d5aa8e8c4261c6f01169381d110c24e5e30a28
parentb576e64eabf7766edab149754ff8b7bb1e8e4156
[BUGFIX] Re-introduce read-only file mounts

This re-introduces the read-only file mounts that were silently dropped
in TYPO3 6.0.

File mounts can be added by User TSconfig the same way they were added
in TYPO3 4.x. But since FAL added Storages, the storage needs to be
configurable.

options.folderTree.altElementBrowserMountPoints = 3:/test

This adds the folder "test" of storage 3 as read-only mount in the File
List and the Element Browser. The old syntax is still supported:

options.folderTree.altElementBrowserMountPoints = documents

If no storage is configured, it is assumed that the folder is in the
default storage.

Resolves: #49391
Resolves: #57979
Documentation: #59648
Releases: 6.3, 6.2
Change-Id: I648c8ae15d4add98cd55e2f9c27d89d8e49d6152
Reviewed-on: https://review.typo3.org/30685
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Utility/IconUtility.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Resource/FolderInterface.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/extbase/Classes/Domain/Model/FileMount.php
typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php