Support hiding activity from admin accounts not associated with the server

This commit is contained in:
DaneEveritt 2022-06-18 15:48:22 -04:00
parent 95de4c30fc
commit cf01490883
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 40 additions and 11 deletions

View file

@ -1,9 +1,12 @@
<?php
return [
/*
* The number of days that must elapse before old activity log entries are deleted
* from the database.
*/
// The number of days ellapsed before old activity log entries are deleted.
'prune_days' => env('APP_ACTIVITY_PRUNE_DAYS', 90),
// If set to true activity log entries generated by an admin user that is not also
// a part of the server in question will be hidden from the activity logs API response.
//
// Activity will still be properly tracked, just not displayed.
'hide_admin_activity' => env('APP_ACTIVITY_HIDE_ADMIN', false),
];