Few bills in Sacramento have gotten as much attention or stirred up as much controversy recently as SB 827, Sen. Scott Wiener’s bold proposal to override local zoning laws to allow the construction of buildings four to five stories tall near rail stations and frequently served bus stops — even in single-family neighborhoods where dense development is prohibited.

But this week state leaders decided — rightly — that Wiener’s hostile takeover of local zoning went too far.