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 ----------------------------------