Merge pull request #21967 from nextcloud/backport/21963/stable19
[stable19] Respect default share permissions
This commit is contained in:
commit
4570534fed
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