fix(files_sharing): hide download permission for circle shares

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2023-07-04 15:17:30 +02:00
parent 396a80a39b
commit 0c09c34034
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2
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