This commit is contained in:
Dennis Eichhorn 2024-04-07 17:31:42 +00:00
parent 720351e4c2
commit c9c3bd42d5
3 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,7 @@ return [
'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationSeenCreate',
'verb' => RouteVerb::SET,
'csrf' => true,
'active' => true,
'permission' => [
'module' => ApiController::NAME,
'type' => PermissionType::CREATE,
@ -35,6 +36,7 @@ return [
'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationsGet',
'verb' => RouteVerb::GET,
'csrf' => true,
'active' => true,
'permission' => [
'module' => ApiController::NAME,
'type' => PermissionType::READ,

View File

@ -22,6 +22,7 @@ return [
[
'dest' => '\Modules\Notification\Controller\BackendController:viewNotificationDashboard',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::READ,

View File

@ -18,7 +18,7 @@ use Modules\Admin\Models\AccountMapper;
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
/**
* Mapper class.
* Notification mapper class.
*
* @package Modules\Notification\Models
* @license OMS License 2.0