]> source.dussan.org Git - nextcloud-server.git/commit
feat(transfer-ownership): Correctly react to encrypted files
authorCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 27 Aug 2024 10:53:38 +0000 (12:53 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 5 Sep 2024 16:02:41 +0000 (16:02 +0000)
commit7bac8f0fcadc484e06bcd73e19ae05fe8a64ae60
tree30b845f71f20483da0c8cdee0658b8bac641d8d4
parent83e6649cfa502dcad5d9a65c2691b504abcbed09
feat(transfer-ownership): Correctly react to encrypted files

For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/files/lib/Service/OwnershipTransferService.php