File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
lib/private/Files/Storage Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -588,11 +588,14 @@ private function calculateEtag(string $path, array $stat): string {
588588 }
589589
590590 private function canDoCrossStorageMove (IStorage $ sourceStorage ) {
591+ /** @psalm-suppress UndefinedClass */
591592 return $ sourceStorage ->instanceOfStorage (Local::class)
592593 // Don't treat ACLStorageWrapper like local storage where copy can be done directly.
593594 // Instead, use the slower recursive copying in php from Common::copyFromStorage with
594595 // more permissions checks.
595596 && !$ sourceStorage ->instanceOfStorage ('OCA\GroupFolders\ACL\ACLStorageWrapper ' )
597+ // Same for access control
598+ && !$ sourceStorage ->instanceOfStorage (\OCA \FilesAccessControl \StorageWrapper::class)
596599 // when moving encrypted files we have to handle keys and the target might not be encrypted
597600 && !$ sourceStorage ->instanceOfStorage (Encryption::class);
598601 }
You can’t perform that action at this time.
0 commit comments