Audit module: audit log and address bans
This commit is contained in:
1 parent
b75403e5ea
commit
d2ea1bacac
41 files changed
+2137
-5
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Tests;
|
||||
|
||||
/** A site that switched the optional audit log on (and reviews, so every module is on). */
|
||||
abstract class AuditOnTestCase extends TestCase
|
||||
{
|
||||
protected array $modules = ['audit' => true, 'reviews' => true];
|
||||
|
||||
protected function defineEnvironment($app): void
|
||||
{
|
||||
parent::defineEnvironment($app);
|
||||
|
||||
$app['config']->set('manager.audit.never_ban', ['10.9.9.9']);
|
||||
$app['config']->set('manager.audit.whole_site_bans', true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user