aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingInput.vue
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-07-15 14:52:04 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-28 16:54:13 +0200
commitab1a20522b1b2730398869a764f672175a1abcb8 (patch)
tree03786fe4046a451a53ecb58336ee965300161914 /apps/files_sharing/src/components/SharingInput.vue
parentbbb5043c07923c8e73f687f42465d246292d207d (diff)
downloadnextcloud-server-ab1a20522b1b2730398869a764f672175a1abcb8.tar.gz
nextcloud-server-ab1a20522b1b2730398869a764f672175a1abcb8.zip
Enforcing permission during resharing
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_sharing/src/components/SharingInput.vue')
-rw-r--r--apps/files_sharing/src/components/SharingInput.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue
index 9cb40697636..df987942552 100644
--- a/apps/files_sharing/src/components/SharingInput.vue
+++ b/apps/files_sharing/src/components/SharingInput.vue
@@ -478,6 +478,7 @@ export default {
shareWith: value.shareWith,
password,
permissions: this.fileInfo.sharePermissions & OC.getCapabilities().files_sharing.default_permissions,
+ attributes: JSON.stringify(this.fileInfo.shareAttributes),
})
// If we had a password, we need to show it to the user as it was generated