Skip to content

Commit

Permalink
Merge pull request #39261 from nextcloud/backports/39146/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(files_sharing): hide download permission for circle shares
  • Loading branch information
blizzz committed Jul 10, 2023
2 parents 9c6cf06 + 0387440 commit 70e2243
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions apps/files_sharing/src/components/SharingEntry.vue
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit 70e2243

Please sign in to comment.