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
@@ -37,6 +37,23 @@ class UsersModule extends BaseModule
|
||||
];
|
||||
}
|
||||
|
||||
public function actions(): array
|
||||
{
|
||||
return [
|
||||
'accounts.store' => ['Created an account'],
|
||||
'accounts.update' => ['Changed an account'],
|
||||
'accounts.destroy' => ['Deleted an account'],
|
||||
'groups.store' => ['Created a group'],
|
||||
'groups.update' => ['Changed a group'],
|
||||
'groups.destroy' => ['Deleted a group'],
|
||||
];
|
||||
}
|
||||
|
||||
public function views(): array
|
||||
{
|
||||
return ['accounts.index' => 'Opened the accounts', 'groups.index' => 'Opened the groups'];
|
||||
}
|
||||
|
||||
public function commands(): array
|
||||
{
|
||||
return [CreateManagerUser::class];
|
||||
|
||||
Reference in new issue
Block a user