(1) No employer or user of machinery shall permit or require any person other than a competent person or a person who has been trained to the satisfaction of an inspector to do any work on or near moving or electrically alive machinery if such work may endanger him: Provided that this subregulation shall not apply in respect of the operation of machinery under the general supervision of a shiftsman