Apply the security check on the object return by ModelInteface::getWorkflowObject.