diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2023-07-10 09:28:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 09:28:37 +0200 |
commit | ba2e243ed18488f85475523d97ffc7f9dd93903c (patch) | |
tree | 3c827ecfef2e4c9822093843d3761fbfb6e95330 /apps/files_sharing | |
parent | 3fb8aad35bcaff25df7fbd521d4f7fd1f15fdf9e (diff) | |
parent | 270d3a426997e690d748dad43e43a75a69f95217 (diff) | |
download | nextcloud-server-ba2e243ed18488f85475523d97ffc7f9dd93903c.tar.gz nextcloud-server-ba2e243ed18488f85475523d97ffc7f9dd93903c.zip |
Merge pull request #39146 from nextcloud/fix/hide-circle-download-permission
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', |