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>
This commit is contained in:
Roeland Jago Douma 2020-06-09 20:59:41 +02:00
parent 862e3250ff
commit d0525df63c
No known key found for this signature in database
GPG Key ID: F941078878347C0C
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,
shareType: value.shareType,
shareWith: value.shareWith,
permissions: this.fileInfo.sharePermissions,
})
this.$emit('add:share', share)