In the interests of added protection, communities created restrictions on where convicted child sex offenders can live upon release, but something was left out of the political mix.
In short, nothing in those ordinances addressed how the rights of sex offenders might be left unprotected under the U.S. Constitution, and as a result, those local restrictions have started to fray at the edges due to a 2017 federal court decision . . . (Source)