From 8e85cff3d8e01a5660a1e8341d4170976d5b445e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Bari?= Date: Thu, 16 Jul 2026 10:20:49 +0200 Subject: [PATCH] feat(activity): Adding sample config for new activity options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tamás Bari --- config/config.sample.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index 55ceb784df971..524ce671ed950 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1392,6 +1392,38 @@ */ 'activity_use_cached_mountpoints' => false, + /** + * Users excluded from activity expiration. + * + * 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' => [], + + /** + * 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'], + * ], + * + * Defaults to ``[]`` + */ + 'activity_log_exclude_users' => [], + /** * Apps *