Change to planning by-law threatens residents’ rights