Skip to content

Commit 4c2e71e

Browse files
Merge pull request #55706 from nextcloud/jtr/fix-config-sample-activity-app
2 parents 28eb887 + 2eaac49 commit 4c2e71e

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

config/config.sample.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,49 @@
12821282
'customclient_fdroid'
12831283
=> 'https://f-droid.org/packages/com.nextcloud.client/',
12841284

1285+
/**
1286+
* Activity
1287+
*
1288+
* Options for the activity app.
1289+
*/
1290+
1291+
/**
1292+
* Retention of activities.
1293+
*
1294+
* A daily cron job deletes all activities for all users which are older than
1295+
* the number of days specified here.
1296+
*
1297+
* Defaults to ``365``
1298+
*/
1299+
1300+
'activity_expire_days' => 365,
1301+
1302+
/**
1303+
* Activities in Team Folders and External Storages.
1304+
*
1305+
* By default, activities in team folders or external storages are only generated
1306+
* for the current user. This is due to a limitations in current implementations.
1307+
* This config flag makes activities in group folders and external storages work
1308+
* like in normal shares (when set to ``true``). WARNING: Enabling this comes with
1309+
* some CRITICAL trade-offs:
1310+
*
1311+
* - If team folder "Advanced Permissions" (ACLs) are used, activities do not
1312+
* respect the permissions and therefore all users see all activities, even
1313+
* for files and directories they do not have access to.
1314+
* - Users who had access to a team folder, share, or external storage can see
1315+
* activities in their stream and emails that happen after they are removed
1316+
* until they log in again.
1317+
* - Users who are newly added to a team folder, share, or external storage
1318+
* cannot see activities in their stream or emails that happen after they
1319+
* are added until they log in again.
1320+
*
1321+
* WARNING: Before enabling this, read the warning Activity app chapter.
1322+
*
1323+
* Defaults to ``false``
1324+
**/
1325+
1326+
'activity_use_cached_mountpoints' => false,
1327+
12851328
/**
12861329
* Apps
12871330
*

0 commit comments

Comments
 (0)