What rights?
This is my rental property city. Which I own the house and property. Not part of any housing administration or anything. Which I totally regret at this point:
Vacant for 30 days? City taxes you $150. Vacant for 1 year. The city will have you demolish your property. I was remodeling my property before renting it out, and I was forced into dealing with this. I redid everything plumbing, electrical, and was a rebuild down to the studs. They made me finish at their schedule of 1 year. I could not work on it at my own pace.
http://www.ci.crystal.mn.us/docs/_FA0E2602_A701_4C7A_8669_7E0BC2E8B8AD_.pdf
Want to sell your house? Realize your house is not up to code? Take the house off the market? Can't afford to do anything about it? You go to jail! In my case: I bought it as-is, and agreed to get it up to code. Hence my remodeling above. But then get stuck with the vacant tax and risk of losing your entire investment if you don't finish in a year.
http://www.ci.crystal.mn.us/docs/2013_pos/2013_pos_q_and_a.pdf
Have a house? Let your family live in it? Well, have to get a rental license and your house has to be inspected yearly and be up to code, and subject to the same conditions as the problem above. You can go to jail if you don't comply. What difference does it make if I have renters or live in it myself? Other than they want to force you into paying the renter tax?
http://www.ci.crystal.mn.us/city_departments/rental_licensing.html
During the court case I had (because I went over the yearly remodeling timelimit, we went to court) I had the notes from the city gained through depositions/city records being pulled that the city was breaking into my house to see the progress without my permission and taking photo's etc. and performing their own inspections without notifications while the house was being worked on. I guess I know why the back door of the garage was kicked in now. Which of course they added to their inspection reports which they required me to fix (which happened every month during that 12 month period) I thought it was a criminal trying to steal my tools. But didn't notice any missing!
Thats just a sample. I imagine other places are just as bad or worse.