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', 'dest' => '\Modules\Draw\Controller\ApiController:apiDrawCreate',
'verb' => RouteVerb::SET, 'verb' => RouteVerb::SET,
'csrf' => true, 'csrf' => true,
'active' => true,
'permission' => [ 'permission' => [
'module' => ApiController::NAME, 'module' => ApiController::NAME,
'type' => PermissionType::CREATE, 'type' => PermissionType::CREATE,

View File

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

View File

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