From 3581d36a1713c7202ec3f41c9ba1d194c35b79ba Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Wed, 29 Nov 2023 15:06:51 +0100 Subject: [PATCH] Improve share logic for enforced password & expiry date * It's possible for the admin to enforce and expiry date after, some shares have been created. This commit makes possible to update the share with the new admin constraints. * This commit would users to modify enforced expiry to anything within range and less than the enforced limit in the pre-create dialog for public shares. * This commit fixes, unable to update share without updating password. Signed-off-by: fenn-cs --- .../src/components/SharingEntryLink.vue | 10 +---- apps/files_sharing/src/mixins/SharesMixin.js | 16 +++++++ .../src/views/SharingDetailsTab.vue | 45 +++++++------------ 3 files changed, 35 insertions(+), 36 deletions(-) diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 77caaee0154ae..d14fc2b6df36c 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -95,13 +95,13 @@