A controversial dress code for teachers working in a number of Dublin primary schools has been suspended following a report by RTÉ News.

Dublin and Dún Laoghaire Education and Training Board withdrew the code earlier this week after details of the restrictions were published online last week by RTÉ.

The board says the codes are being reviewed.

One senior education figure had called the rules "intrusive and oppressive".

The dress restrictions were in place in at least two Community National Schools, Scoil Choilm in Clonsilla, and Citywest and Saggart Community National School.

Teachers were forbidden from wearing skirts any shorter than "just above the knee", and any hair colours regarded as "inappropriate" including "unusual" shades of red.

The documents went into great detail about what was permitted and what was not permitted.

Jeans, runners, hoodies, and t-shirts were all banned, as were "shaved or punk hairstyles" and sunglasses indoors.

Leggings were only allowed under knee-length skirts or dresses.

The documents also stated that no "clothing, paraphernalia, grooming, jewellery, accessories or body adornments" could be worn if they denoted "membership in gangs or ... drug use or violence".

Teachers were told earlier this week that the policies were suspended and no longer applied.

The primary teachers' union, the INTO, has welcomed the decision and called for consultation with school staff.

Community National Schools are the newest model of primary school in the country.

Run by the State's Education and Training Boards, there are currently 11 in existence, but more are expected to open in coming years.

Dublin and Dún Laoghaire ETB runs six CNS schools and has not yet clarified to RTÉ News whether or not a similar dress code has been in operation in any of its other CNS schools.

Last week, Dublin and Dún Laoghaire ETB told RTÉ News that dress codes for staff were "drafted in consultation with the school board of management and in full consultation with staff in the school".

However, none of the CNS schools had boards of management in place at the time that the dress codes were written.

Boards of management structures were only established in the schools late last year and the dress codes predate this.

Until last year the schools were run by a single manager appointed by the Department of Education. 

Current and former staff at the schools have rejected the claim that they were fully consulted.

They have told RTÉ News that while they were informed about the policies, they were not consulted in any meaningful way.