Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,38 @@
*/
'activity_use_cached_mountpoints' => false,

/**
* Users excluded from activity expiration.
*
Comment on lines +1395 to +1397

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would add "Reqires acitivty app" or similar to ensure admins know this is for the activity app

* An array of user IDs whose activity records are never deleted by the
* expiration job, regardless of the ``activity_expire_days`` setting.
* For example::
*
* 'activity_expire_exclude_users' => [
* 'admin',
* 'group_admin',
* ],
*
* Defaults to ``[]``
*/
'activity_expire_exclude_users' => [],
Comment on lines +1407 to +1409

/**
* Per-user activity logging exclusions.
*
* An associative array mapping user IDs to an array of event type strings.
* Activities of the listed event types will not be logged for the
* corresponding user. For example::
*
* 'activity_log_exclude_users' => [
* 'alice' => ['file_created'],
* 'bob' => ['file_created', 'file_changed'],
* ],
Comment on lines +1412 to +1421
*
* Defaults to ``[]``
*/
'activity_log_exclude_users' => [],
Comment on lines +1423 to +1425

/**
* Apps
*
Expand Down
Loading