From 5848a0ca7b13884b108cdfe7cb032a7343824d5b 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 c1cc67ca72289..825c6a1a20fe3 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -183,7 +183,7 @@ {{ t('files_sharing', 'Hide download') }} @@ -696,6 +696,10 @@ export default { return (this.fileInfo.canDownload() || this.canDownload) }, + canShowDownloadPermission() { + return !this.isPublicShare && !this.isRemoteShare + }, + canRemoveReadPermission() { return this.allowsFileDrop && ( this.share.type === ShareType.Link