Local governments can no longer allow people to sleep in streets, public buildings or public rights of way