Skip to content

Commit a910289

Browse files
committed
feat(activity): exclude users from expiry
Signed-off-by: Anna Larch <anna@nextcloud.com>
1 parent a904deb commit a910289

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

admin_manual/configuration_server/activity_configuration.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,19 @@ To implement the samples mentioned above, the following three entries are necess
7272

7373
If you want to manually send out all activity emails which are queued, you can run
7474
``occ activity:send-mails`` without any argument.
75+
76+
Excluding users from the activity expiration
77+
--------------------------------------------
78+
79+
For certain users, it might make sense to never expire their activity data, for example
80+
administrators.
81+
You can set the config value `activity_expire_exclude_users` in your Nextcloud config to
82+
exclude these users from expiration::
83+
84+
'activity_expire_exclude_users' => [
85+
'admin',
86+
'group_admin',
87+
'second_admin'
88+
]
89+
90+
For these users, their activity records will never deleted from the database.

0 commit comments

Comments
 (0)