Merge pull request #21963 from nextcloud/fix/sharing/respect_default_share_permissions
Respect default share permissions
This commit is contained in:
commit
ba39d7adde
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -435,7 +435,7 @@ export default {
|
||||||
path,
|
path,
|
||||||
shareType: value.shareType,
|
shareType: value.shareType,
|
||||||
shareWith: value.shareWith,
|
shareWith: value.shareWith,
|
||||||
permissions: this.fileInfo.sharePermissions,
|
permissions: this.fileInfo.sharePermissions & OC.getCapabilities().files_sharing.default_permissions,
|
||||||
})
|
})
|
||||||
this.$emit('add:share', share)
|
this.$emit('add:share', share)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue