Is marrying a relative allowed by the Church?

Consanguinity in the direct line (e.g., father-daughter, grandmother-grandson) always prohibits marriage. In the indirect line, those related only as closely as first cousins are impeded from marrying (CIC 1091), but such an impediment for first cousins may be dispensed by the bishop.