Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ before starting to add changes. Use example [placed in the end of the page](#exa

## [Unreleased]

- [PR-307](https://github.com/OS2Forms/os2forms/pull/307)
Added proper entity access checks on Maestro notification preview routes

## [5.0.0] 2025-11-18

- [PR-192](https://github.com/OS2Forms/os2forms/pull/192)
Expand Down
4 changes: 2 additions & 2 deletions modules/os2forms_forloeb/os2forms_forloeb.routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ os2forms_forloeb.meastro_notification.preview:
webform:
type: 'entity:webform'
requirements:
_permission: 'view any webform submission'
_entity_access: 'webform.view'

os2forms_forloeb.meastro_notification.preview_render:
path: '/admin/structure/webform/manage/{webform}/os2forms_forloeb/notification/{handler}/preview/{notification_type}/{content_type}/render/{submission}'
Expand All @@ -31,7 +31,7 @@ os2forms_forloeb.meastro_notification.preview_render:
submission:
type: 'entity:webform_submission'
requirements:
_permission: 'view any webform submission'
_entity_access: 'submission.view'

os2forms_forloeb.meastro_notification.preview_message:
path: '/os2forms_forloeb/notification/message'
Expand Down
Loading