/**
  * This method is called everytime the EVENT_ON_REQUIRED_PERMISSION_ASSIGNMENT event is raised,
  * which means that a __SystemResource instance has acquired permissions and need to check
  * if current user has access to then
  *
  * @param __Event $event The event EVENT_ON_REQUIRED_PERMISSION_ASSIGNMENT, which contains the __SystemReosurce
  */
 public function onRequiredPermissionAssignment(__Event &$event)
 {
     $system_resource = $event->getRaiserObject();
     $this->checkAccess($system_resource);
 }