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 <bjoern@schiessle.org>
This commit is contained in:
Björn Schießle
2020-08-13 15:08:14 +02:00
committed by Bjoern Schiessle
parent 93f373b8c5
commit b6e5a67680

View File

@@ -63,6 +63,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 <DAYS> core internal_defaultExpDays
./occ config:app:set --value <DAYS> 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
----------------------------------