...
I think instead we can simply check if kDBEventHandler::CheckPermission method returned false and call this construct automatically from kRequestManager::runEvent
method.
Solution
- in "kEventHandler::CheckPermission" method (including descendant classes) just return true/false instead of calling "kPermissionsHelper::finalizePermissionCheck" method
- in "kRequestManager::runEvent" method check if calling "kEventHandler::CheckPermission" resulted in false and if so run "kPermissionsHelper::finalizePermissionCheck" method to ensure, that all redirect parameters are set properly (e.g. next template, etc.)
Related Tasks
Jira Legacy server In-Portal Issue TrackerSystem Jira columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 126bf1dc513b375f-b5748291-35223313-8c149d9f-3dd94dfb9de1704c39b1f915 key INP-1327