Ver código fonte

fix(files): Also skip cross storage move with access control

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/44889/head
Joas Schilling 1 mês atrás
pai
commit
050408c9de
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      lib/private/Files/Storage/Local.php

+ 2
- 0
lib/private/Files/Storage/Local.php Ver arquivo

@@ -589,6 +589,8 @@ class Local extends \OC\Files\Storage\Common {
// Instead, use the slower recursive copying in php from Common::copyFromStorage with
// more permissions checks.
&& !$sourceStorage->instanceOfStorage('OCA\GroupFolders\ACL\ACLStorageWrapper')
// Same for access control
&& !$sourceStorage->instanceOfStorage(\OCA\FilesAccessControl\StorageWrapper::class)
// when moving encrypted files we have to handle keys and the target might not be encrypted
&& !$sourceStorage->instanceOfStorage(Encryption::class);
}

Carregando…
Cancelar
Salvar