Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I think instead we can simply check if kDBEventHandler::CheckPermission method returned false and call this construct automatically from kRequestManager::runEvent method.

Solution

  1. in "kEventHandler::CheckPermission" method (including descendant classes) just return true/false instead of calling "kPermissionsHelper::finalizePermissionCheck" method
  2. 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
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-1327