diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-07-23 09:30:42 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-07-23 09:30:42 +0200 |
commit | df1fa52ee52de577397012a5aad381367f9549a4 (patch) | |
tree | 33b22c9061faf6c5563f20ff1bad214efd12d52e /apps/files_sharing/src/components/SharingInput.vue | |
parent | 99d0ba5f7ea45bb636cfcfc2de144e25af88b916 (diff) | |
download | nextcloud-server-df1fa52ee52de577397012a5aad381367f9549a4.tar.gz nextcloud-server-df1fa52ee52de577397012a5aad381367f9549a4.zip |
Respect default share permissions
Else we'll always create new shares with the max permissions.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/src/components/SharingInput.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingInput.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index 41d80cc249b..e5a32e24549 100644 --- a/apps/files_sharing/src/components/SharingInput.vue +++ b/apps/files_sharing/src/components/SharingInput.vue @@ -435,7 +435,7 @@ export default { path, shareType: value.shareType, shareWith: value.shareWith, - permissions: this.fileInfo.sharePermissions, + permissions: this.fileInfo.sharePermissions & OC.getCapabilities().files_sharing.default_permissions, }) this.$emit('add:share', share) |