mirror of
https://github.com/Karaka-Management/oms-Notification.git
synced 2026-01-11 08:08:41 +00:00
ui fixes
This commit is contained in:
parent
720351e4c2
commit
c9c3bd42d5
|
|
@ -23,6 +23,7 @@ return [
|
||||||
'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationSeenCreate',
|
'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationSeenCreate',
|
||||||
'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,
|
||||||
|
|
@ -35,6 +36,7 @@ return [
|
||||||
'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationsGet',
|
'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationsGet',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'csrf' => true,
|
'csrf' => true,
|
||||||
|
'active' => true,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::NAME,
|
'module' => ApiController::NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ return [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Notification\Controller\BackendController:viewNotificationDashboard',
|
'dest' => '\Modules\Notification\Controller\BackendController:viewNotificationDashboard',
|
||||||
'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\Admin\Models\AccountMapper;
|
||||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mapper class.
|
* Notification mapper class.
|
||||||
*
|
*
|
||||||
* @package Modules\Notification\Models
|
* @package Modules\Notification\Models
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user