Files

42 lines
1.3 KiB
PHP

<?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',
];
}
}