Merge pull request #39260 from nextcloud/backports/39146/stable26

[stable26] fix(files_sharing): hide download permission for circle shares
This commit is contained in:
Arthur Schiwon 2023-07-10 18:06:07 +02:00 committed by GitHub
commit ce036dcced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -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 one or more lines are too long

File diff suppressed because one or more lines are too long