[BUGFIX] Make meta data editable for non-writable storages 74/42874/9
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 10:22:44 +0000 (11:22 +0100)
commitc3fef10f153e19179e6dea90307a25e1f135ba3b
tree2f00f42da649a9722b4e38bb6235a136a8e87d70
parentd01d61585a95c2672610e40cb741564a21fcd7bb
[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/42874
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
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/9.5.x/Important-65636-AllowMetaDataEditingOnReadOnlyStorages.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/filelist/Classes/FileList.php