We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57967bb commit 9ee1b57Copy full SHA for 9ee1b57
1 file changed
apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -1730,7 +1730,8 @@ private function getShareById(string $id): IShare {
1730
];
1731
1732
// Include federated sharing whenever the provider is available for the user.
1733
- if ($this->shareManager->shareProviderExists(IShare::TYPE_REMOTE)) {
+ // Add federated sharing as a provider only if it's allowed
1734
+ if ($this->shareManager->outgoingServer2ServerSharesAllowed()) {
1735
$providers['ocFederatedSharing'] = null; // No type check needed
1736
}
1737
0 commit comments