Skip to content

Commit ce036dc

Browse files
authored
Merge pull request #39260 from nextcloud/backports/39146/stable26
[stable26] fix(files_sharing): hide download permission for circle shares
2 parents 1c59a7a + 0c09c34 commit ce036dc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
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/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)