feat(activity): exclude users from expiry

Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
Anna Larch
2025-03-18 18:26:27 +01:00
parent a904deb767
commit a910289382

View File

@@ -72,3 +72,19 @@ To implement the samples mentioned above, the following three entries are necess
If you want to manually send out all activity emails which are queued, you can run
``occ activity:send-mails`` without any argument.
Excluding users from the activity expiration
--------------------------------------------
For certain users, it might make sense to never expire their activity data, for example
administrators.
You can set the config value `activity_expire_exclude_users` in your Nextcloud config to
exclude these users from expiration::
'activity_expire_exclude_users' => [
'admin',
'group_admin',
'second_admin'
]
For these users, their activity records will never deleted from the database.