Merge pull request #21967 from nextcloud/backport/21963/stable19

[stable19] Respect default share permissions
This commit is contained in:
Morris Jobke 2020-07-23 17:28:38 +02:00 committed by GitHub
commit 4570534fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -435,7 +435,7 @@ export default {
path,
shareType: value.shareType,
shareWith: value.shareWith,
permissions: this.fileInfo.sharePermissions,
permissions: this.fileInfo.sharePermissions & OC.getCapabilities().files_sharing.default_permissions,
})
this.$emit('add:share', share)