generated from Nodarx/template
Initial commit for firewall_manager module
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace KTXM\FirewallManager;
|
||||
|
||||
use KTXF\Module\ModuleBrowserInterface;
|
||||
use KTXF\Module\ModuleInstanceAbstract;
|
||||
|
||||
final class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
{
|
||||
public function handle(): string { return 'firewall_manager'; }
|
||||
public function label(): string { return 'Firewall Manager'; }
|
||||
public function author(): string { return 'Ktrix'; }
|
||||
public function description(): string { return 'Administrative interface for firewall rules, logs, metrics, and settings'; }
|
||||
public function version(): string { return '0.0.1'; }
|
||||
|
||||
public function permissions(): array
|
||||
{
|
||||
return [
|
||||
'firewall_manager.access' => [
|
||||
'label' => 'Access Firewall Manager',
|
||||
'description' => 'Access the firewall administration interface',
|
||||
'group' => 'Firewall Management',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
public function registerBI(): array
|
||||
{
|
||||
return [
|
||||
'handle' => $this->handle(),
|
||||
'namespace' => 'FirewallManager',
|
||||
'version' => $this->version(),
|
||||
'label' => $this->label(),
|
||||
'author' => $this->author(),
|
||||
'description' => $this->description(),
|
||||
'boot' => 'static/module.mjs',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user