From 94b98a037bd7d06c6893cf4d7b04478bce723c0c Mon Sep 17 00:00:00 2001 From: "Enjeck C." Date: Fri, 24 Jul 2026 02:08:32 +0100 Subject: [PATCH] fix(sharing): Hide Allow download and sync option for federated Signed-off-by: Enjeck C. --- apps/files_sharing/src/views/SharingDetailsTab.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index a156bcfbf3e6f..6a3cd28330c34 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -181,7 +181,7 @@ {{ t('files_sharing', 'Hide download') }} @@ -701,6 +701,10 @@ export default { return (this.fileInfo.canDownload() || this.canDownload) }, + canShowDownloadPermission() { + return !this.isPublicShare && !this.isRemoteShare + }, + canRemoveReadPermission() { return this.allowsFileDrop && ( this.share.type === ShareType.Link