]> 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:01:31 +0000 (16:01 +0000)
commitadcb5da33843128d0507f8ba1868dfd9ed253355
treecde928b5af32e8e0ebfb05267b4e18705fc87ea5
parent473c9d82490a31c4298aedca8d56682e862e11c8
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