Pass the proper share permissions to the create share call

Fixes #21188

This way we do not run into the share permission issue

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
Roeland Jago Douma 2020-06-09 20:59:41 +02:00 committed by npmbuildbot[bot]
parent f40f7abbaf
commit 009432dee0
3 changed files with 3 additions and 2 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,6 +435,7 @@ export default {
path, path,
shareType: value.shareType, shareType: value.shareType,
shareWith: value.shareWith, shareWith: value.shareWith,
permissions: this.fileInfo.sharePermissions,
}) })
this.$emit('add:share', share) this.$emit('add:share', share)