Merge pull request #21963 from nextcloud/fix/sharing/respect_default_share_permissions

Respect default share permissions
This commit is contained in:
Roeland Jago Douma 2020-07-23 10:53:36 +02:00 committed by GitHub
commit ba39d7adde
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)