mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
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:
parent
ed69054c49
commit
1f1f1c0efc
@ -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 <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
|
||||
----------------------------------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user