Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Method kDBEventHandler::CheckPermission is called to check if a user has a rights to run an event supplied from Front-End. Right now to ensure correct behavior while performing custom permission checks a developer is forced to use this construct each time:

$perm_helper = $this->Application->recallObject('PermissionsHelper');
/* @var $perm_helper kPermissionsHelper */

return $perm_helper->finalizePermissionCheck($event, false);

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

Related Tasks

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.

  • No labels