[BUGFIX] Re-introduce read-only file mounts 96/31496/2
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:32:07 +0000 (11:32 +0200)
commit63de059c0d5b8d07e39fbbd13f4eaa127139e486
treec9dfa4cb3a469c495cc0293d91c71028db15e365
parentf746410ad1016b8afaf2a033ad8577303e9bcb21
[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/31496
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