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', '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,

View File

@ -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,

View File

@ -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