A permit authority who issues a building permit or plumbing permit, so far as is reasonably practicable, is to ensure that (a) the permit is in accordance with this Act; and(b) any required matters are taken into account in accordance with this Act; and(c) registers are kept in accordance with this Act; and(d) a certificate of completion (building work) or a certificate of completion (plumbing work) is issued in accordance with this Act.