protected function verifyDeliveryExecutionAuthorized(DeliveryExecution $deliveryExecution)
    {
        $user = common_session_SessionManager::getSession()->getUser();
        $this->getAuthorizationProvider()->verifyResumeAuthorization($deliveryExecution, $user);
    }
protected function verifyDeliveryExecutionAuthorized(DeliveryExecution $deliveryExecution)
    {
        $user = common_session_SessionManager::getSession()->getUser();
        $this->getAuthorizationProvider()->verifyResumeAuthorization($deliveryExecution, $user);
    }
protected function verifyDeliveryExecutionAuthorized ( DeliveryExecution $ deliveryExecution ) { $ user = common_session_SessionManager :: getSession ( ) -> getUser ( ) ; $ this -> getAuthorizationProvider ( ) -> verifyResumeAuthorization ( $ deliveryExecution , $ user ) ; }
Check wether the delivery execution is authorized to run
Throws an exception if not

@param DeliveryExecution $deliveryExecution
@return boolean
@throws \common_exception_Unauthorized
@throws \common_exception_Error
@throws UnAuthorizedException
Check wether the delivery execution is authorized to run Throws an exception if not