Skip to content

Commit ba2e243

Browse files
authored
Merge pull request #39146 from nextcloud/fix/hide-circle-download-permission
fix(files_sharing): hide download permission for circle shares
2 parents 3fb8aad + 270d3a4 commit ba2e243

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

apps/files_sharing/src/components/SharingEntry.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,12 @@ export default {
404404
* @return {boolean}
405405
*/
406406
isSetDownloadButtonVisible() {
407+
// TODO: Implement download permission for circle shares instead of hiding the option.
408+
// https://github.com/nextcloud/server/issues/39161
409+
if (this.share && this.share.type === this.SHARE_TYPES.SHARE_TYPE_CIRCLE) {
410+
return false
411+
}
412+
407413
const allowedMimetypes = [
408414
// Office documents
409415
'application/msword',

dist/2142-2142.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/3832-3832.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)