From 1f1f1c0efca96e7a0e39c07fdc2c6a4e83b11e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Thu, 13 Aug 2020 15:08:14 +0200 Subject: [PATCH] Document some new sharing features: 1. default expire date vs max expire date 2. notification for shares which expire soon Signed-off-by: Bjoern Schiessle --- .../file_sharing_configuration.rst | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/admin_manual/configuration_files/file_sharing_configuration.rst b/admin_manual/configuration_files/file_sharing_configuration.rst index a699a4166..d56914f7a 100644 --- a/admin_manual/configuration_files/file_sharing_configuration.rst +++ b/admin_manual/configuration_files/file_sharing_configuration.rst @@ -60,6 +60,32 @@ forcing them. .. _transfer_userfiles_label: +Distinguish between max expire date and default expire date +----------------------------------------------------------- + +The expire date which can be set and enforced in the settings above are the hard limit and the +default value at the same time. Sometimes admins want o have a moderate default expire date, +for example 7 days but make sure that the user can't extend it to more than 14 days. + +In order to do so the user can set a enforced expire date in the settings as described above +and set the default value to something below the maximal possible expire date with the following +OCC commands: + + ./occ config:app:set --value core internal_defaultExpDays + ./occ config:app:set --value core link_defaultExpDays + + +Get a notification before a share expires +----------------------------------------- + +Users can get a notification before a share expires. In order to do so a cronjob need to be +configured which calls the following OCC command once a day. + + ./occ sharing:expiration-notification + + +A notification will be send for all shares which expire within the next 24 hours. + Transferring files to another user ----------------------------------