This commit is contained in:
Dennis Eichhorn 2024-04-07 17:31:41 +00:00
parent e7dd2ed3d3
commit 63e5d411de
3 changed files with 7 additions and 1 deletions

View File

@ -23,6 +23,7 @@ return [
'dest' => '\Modules\Draw\Controller\ApiController:apiDrawCreate',
'verb' => RouteVerb::SET,
'csrf' => true,
'active' => true,
'permission' => [
'module' => ApiController::NAME,
'type' => PermissionType::CREATE,

View File

@ -22,6 +22,7 @@ return [
[
'dest' => '\Modules\Draw\Controller\BackendController:setUpDrawEditor',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::CREATE,
@ -31,6 +32,7 @@ return [
[
'dest' => '\Modules\Draw\Controller\BackendController:viewDrawCreate',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::CREATE,
@ -42,6 +44,7 @@ return [
[
'dest' => '\Modules\Draw\Controller\BackendController:viewDrawList',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::READ,
@ -53,6 +56,7 @@ return [
[
'dest' => '\Modules\Draw\Controller\BackendController:setUpDrawEditor',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::READ,
@ -62,6 +66,7 @@ return [
[
'dest' => '\Modules\Draw\Controller\BackendController:viewDrawView',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::READ,

View File

@ -18,7 +18,7 @@ use Modules\Media\Models\MediaMapper;
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
/**
* Mapper class.
* DrawImage mapper class.
*
* @package Modules\Draw\Models
* @license OMS License 2.0