oms-Labeling/Admin/Routes/Web/Backend.php
Dennis Eichhorn 16e043a8b6 update
2023-07-17 01:39:34 +00:00

21 lines
630 B
PHP

<?php declare(strict_types=1);
use Modules\Labeling\Controller\BackendController;
use Modules\Labeling\Models\PermissionState;
use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb;
return [
'^.*/warehouse/labeling/label/list.*$' => [
[
'dest' => '\Modules\Labeling\Controller\BackendController:viewLabelLayoutList',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => PermissionState::LABEL,
],
],
],
];