diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2023-07-04 15:17:30 +0200 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2023-07-10 08:51:49 +0200 |
commit | 270d3a426997e690d748dad43e43a75a69f95217 (patch) | |
tree | 3c827ecfef2e4c9822093843d3761fbfb6e95330 /apps | |
parent | 3fb8aad35bcaff25df7fbd521d4f7fd1f15fdf9e (diff) | |
download | nextcloud-server-270d3a426997e690d748dad43e43a75a69f95217.tar.gz nextcloud-server-270d3a426997e690d748dad43e43a75a69f95217.zip |
fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps')
-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', |