Perhaps I could respond to that.
Dispensaries are illegal as are other sellers of marijuana that are not licensed under the current laws to do so. The operations are selling, basically, as you have pointed out, untested products that could be unsafe and a particular risk to children.
If people possess a medical marijuana prescription or a licence, there is a distribution chain through the licensed providers that are inspected and are providing product that meets the inspections that Health Canada performs, not the Public Health Agency. In fact, they are inspected with significant rigour, as you probably know.
The government is in the process of setting up a task force to consult on the future direction of legalization of marijuana and has promised to bring in legislation next spring to help deal with it. In the meantime, the position is that they are illegal and Health Canada supports the local law enforcement that is going on around these.