oms-InvestmentManagement/Admin/Routes/Web/Backend.php
2023-05-24 18:11:37 +00:00

21 lines
670 B
PHP
Executable File

<?php declare(strict_types=1);
use Modules\InvestmentManagement\Controller\BackendController;
use Modules\InvestmentManagement\Models\PermissionCategory;
use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb;
return [
'^.*/controlling/investment/dashboard.*$' => [
[
'dest' => '\Modules\InvestmentManagement\Controller\BackendController:viewInvestmentDashboard',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => PermissionCategory::INVESTMENT,
],
],
],
];