From efc385dc39ca32e498ce3d5c799bd871573d6dbd 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 +++++++------------ dist/{8673-8673.js => 3502-3502.js} | 6 +-- ...s.LICENSE.txt => 3502-3502.js.LICENSE.txt} | 0 dist/3502-3502.js.map | 1 + dist/8673-8673.js.map | 1 - dist/files_sharing-files_sharing_tab.js | 4 +- dist/files_sharing-files_sharing_tab.js.map | 2 +- 9 files changed, 42 insertions(+), 43 deletions(-) rename dist/{8673-8673.js => 3502-3502.js} (59%) rename dist/{8673-8673.js.LICENSE.txt => 3502-3502.js.LICENSE.txt} (100%) create mode 100644 dist/3502-3502.js.map delete mode 100644 dist/8673-8673.js.map 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 @@