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>
pull/21347/head
Roeland Jago Douma 6 years ago
parent 862e3250ff
commit d0525df63c
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 2
      apps/files_sharing/js/dist/files_sharing_tab.js
  2. 2
      apps/files_sharing/js/dist/files_sharing_tab.js.map
  3. 1
      apps/files_sharing/src/components/SharingInput.vue

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -435,6 +435,7 @@ export default {
path,
shareType: value.shareType,
shareWith: value.shareWith,
permissions: this.fileInfo.sharePermissions,
})
this.$emit('add:share', share)

Loading…
Cancel
Save