Browse Source

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>
Vincent Petry 2 years ago
parent
commit
04385c7eaa
1 changed files with 7 additions and 0 deletions
  1. 7 0
      config/config.sample.php

+ 7 - 0
config/config.sample.php

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