Respect default share permissions
Else we'll always create new shares with the max permissions. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
fcc708ff22
commit
3811a5ebad
|
@ -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