No building permit shall be issued and no building shall be erected on any lot in any subdivision unless the street given access thereto has been approved by the planning commission as meeting the standards of a public street in accordance with this chapter or unless such street has attained the status of a public street prior to the effective date of the ordinance from which this chapter derives.