diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index afea7ead4e690750a84502016f3f1da97f319f9d..457fd58f0f841fe5e42ba958915136dea18f7753 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -207,6 +207,11 @@ class OC_Mount_Config { 'groups' => $storage->getApplicableGroups(), 'users' => $storage->getApplicableUsers(), ]; + // if mountpoint is applicable to all users the old API expects ['all'] + if (empty($mountEntry['applicable']['groups']) && empty($mountEntry['applicable']['users'])) { + $mountEntry['applicable']['users'] = ['all']; + } + $mountEntry['id'] = $storage->getId(); return $mountEntry;