From ab1a20522b1b2730398869a764f672175a1abcb8 Mon Sep 17 00:00:00 2001
From: Carl Schwan <carl@carlschwan.eu>
Date: Fri, 15 Jul 2022 14:52:04 +0200
Subject: Enforcing permission during resharing

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
---
 apps/files_sharing/src/components/SharingEntryLink.vue | 1 +
 1 file changed, 1 insertion(+)

(limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')

diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index 672b32c1cd1..0699cf2aea4 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -697,6 +697,7 @@ export default {
 					shareType: ShareTypes.SHARE_TYPE_LINK,
 					password: share.password,
 					expireDate: share.expireDate,
+					attributes: JSON.stringify(this.fileInfo.shareAttributes),
 					// we do not allow setting the publicUpload
 					// before the share creation.
 					// Todo: We also need to fix the createShare method in
-- 
cgit v1.2.3

