Browse Source

Merge pull request #39146 from nextcloud/fix/hide-circle-download-permission

fix(files_sharing): hide download permission for circle shares
Richard Steinmetz 11 months ago
parent
commit
ba2e243ed1

+ 6 - 0
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',

File diff suppressed because it is too large
+ 0 - 0
dist/2142-2142.js.map


File diff suppressed because it is too large
+ 0 - 1
dist/3832-3832.js


+ 0 - 0
dist/2142-2142.js.LICENSE.txt → dist/3832-3832.js.LICENSE.txt


File diff suppressed because it is too large
+ 0 - 0
dist/3832-3832.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/files_sharing-files_sharing_tab.js


File diff suppressed because it is too large
+ 0 - 0
dist/files_sharing-files_sharing_tab.js.map


Some files were not shown because too many files changed in this diff