You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewGenericShareException('Could not get proper share mount for ' . $share->getNode()->getId() . '. Failing since else the next calls are called with null');
311
-
}
312
-
$mount = $userMount->getMountPoint();
313
303
if (!$isFederatedShare && $share->getNode()->getOwner() && $share->getNode()->getOwner()->getUID() !== $share->getSharedBy()) {
304
+
$userMounts = array_filter($userFolder->getById($share->getNode()->getId()), function ($mount) {
305
+
// We need to filter since there might be other mountpoints that contain the file
306
+
// e.g. if the user has access to the same external storage that the file is originating from
thrownewGenericShareException('Could not get proper share mount for ' . $share->getNode()->getId() . '. Failing since else the next calls are called with null');
312
+
}
313
+
$mount = $userMount->getMountPoint();
314
314
// When it's a reshare use the parent share permissions as maximum
0 commit comments