New provincial legislation threatens to upend affordable rental housing efforts because, by next year, the policies must meet a test of financial viability for developers.