Questions on hazards of roof work

Who is responsible for making sure you are safe when working on roofs?