Add config.php option for transfer ownership

Add option to specify whether to transfer incoming shares by default.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
pull/28847/head
Vincent Petry 2021-09-15 14:37:10 +07:00
parent 995aa65183
commit 04385c7eaa
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
1 changed files with 7 additions and 0 deletions

@ -1497,6 +1497,13 @@ $CONFIG = [
*/
'sharing.enable_share_mail' => true,
/**
* Set to true to always transfer incoming shares by default
* when running "occ files:transfer-ownership".
* Defaults to false, so incoming shares are not transferred if not specifically requested
* by a command line argument.
*/
'transferIncomingShares' => false,
/**
* All other configuration options