diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-07-10 18:42:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 18:42:54 +0200 |
commit | 70e2243f0f8287121454eeb67389654ac8e11b04 (patch) | |
tree | 97345b88e76b43cea7a24137635a8062e172e119 /apps/files_sharing | |
parent | 9c6cf06c6da113abbb4f39fd08c3a4a9b8bc73ed (diff) | |
parent | 0387440a6c91e2efd82b9dce3ebc39d4cb4aa716 (diff) | |
download | nextcloud-server-70e2243f0f8287121454eeb67389654ac8e11b04.tar.gz nextcloud-server-70e2243f0f8287121454eeb67389654ac8e11b04.zip |
Merge pull request #39261 from nextcloud/backports/39146/stable27
[stable27] fix(files_sharing): hide download permission for circle shares
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index f39e55ccc51..46b65c695ee 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -404,6 +404,12 @@ export default { * @return {boolean} */ isSetDownloadButtonVisible() { + // TODO: Implement download permission for circle shares instead of hiding the option. + // https://github.com/nextcloud/server/issues/39161 + if (this.share && this.share.type === this.SHARE_TYPES.SHARE_TYPE_CIRCLE) { + return false + } + const allowedMimetypes = [ // Office documents 'application/msword', |