[BUGFIX] Make meta data editable for non-writable storages 78/58978/3
authorNicole Cordes <typo3@cordes.co>
Tue, 25 Aug 2015 16:29:28 +0000 (18:29 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 29 Nov 2018 13:34:09 +0000 (14:34 +0100)
commitf9c6e31d91ad32ea71b8bc30d5a6b19556287376
tree6fd885488fc1172b57d37b249ef2befa0f95ce76
parent9473577235b90d42500609c4704b09d8d8362725
[BUGFIX] Make meta data editable for non-writable storages

Decouple check for writable files/storage from permission
to edit meta data. Permission to edit meta data is now
only denied when users have only access to the file
via a readonly file mount.

Resolves: #65636
Resolves: #66507
Releases: master, 8.7
Change-Id: I25a0fbc9cf761898dbdb95dec1d3d39bb2f4b7fd
Reviewed-on: https://review.typo3.org/58978
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/Security/FileMetadataPermissionsAspect.php
typo3/sysext/core/Documentation/Changelog/8.7.x/Important-65636-AllowMetaDataEditingOnReadOnlyStorages.rst\t [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/filelist/Classes/FileList.php