The B.C. government is shelving legislation that would have stopped Children's Representative Mary Ellen Turpel-Lafond from seeing cabinet documents.

Children's Minister Mary Polak says instead of the bill, the government has asked former judge Ted Hughes to mediate a solution to the issue.

Hughes, who's considered the architect of B.C's child protection laws, offered his help Monday in a letter to Premier Gordon Campbell that was critical of the government's move to limit access to cabinet material.

Polack says she hopes Hughes can work something out that will allow Turpel-Lafond to get the information she needs while also maintaining cabinet confidentiality.

Trupel-Lafond went to court to challenge the law last week and won a ruling from B.C. Supreme Court Judge Susan Griffin.

The judge said the government must turn over documents Turpel-Lafond wanted because the child watchdog's need to see them trumps the province's concerns over cabinet confidentiality.