mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-11 16:18:42 +00:00
45 lines
1.3 KiB
PHP
Executable File
45 lines
1.3 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.2
|
|
*
|
|
* @package Modules
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.2
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
use Modules\Navigation\Controller\BackendController;
|
|
use phpOMS\Account\PermissionType;
|
|
use phpOMS\Router\RouteVerb;
|
|
|
|
return [
|
|
'^/admin/module/settings\?id=Navigation&nav=.*?$' => [
|
|
[
|
|
'dest' => '\Modules\Navigation\Controller\BackendController:viewModuleNavElementSettings',
|
|
'verb' => RouteVerb::GET,
|
|
'active' => true,
|
|
'permission' => [
|
|
'module' => BackendController::NAME,
|
|
'type' => PermissionType::READ,
|
|
'state' => \Modules\Admin\Models\PermissionCategory::MODULE,
|
|
],
|
|
],
|
|
],
|
|
'^/admin/module/navigation/list(\?.*$|$)' => [
|
|
[
|
|
'dest' => '\Modules\Navigation\Controller\BackendController:viewModuleNavigationList',
|
|
'verb' => RouteVerb::GET,
|
|
'active' => true,
|
|
'permission' => [
|
|
'module' => BackendController::NAME,
|
|
'type' => PermissionType::READ,
|
|
'state' => \Modules\Admin\Models\PermissionCategory::MODULE,
|
|
],
|
|
],
|
|
],
|
|
];
|