The Ontario Human Rights Code and licensing
From: Room for everyone: Human rights and rental housing licensing
Rental housing bylaws discriminate if they cause someone to be disadvantaged in a protected social area – like housing – because of the person’s association with a protected ground. If a bylaw is found to be discriminatory, a municipality would have to show that the absence or variation of the bylaw would cause them “undue hardship” in terms of health and safety or cost ramifications.