mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-02-14 14:18:41 +00:00
ui fixes
This commit is contained in:
parent
e7dd2ed3d3
commit
63e5d411de
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user