What's your take on dress codes in housing societies?

Should residents' associations regulate what can be worn in common areas in housing societies and residential colonies? We want to know what you think.
1.Should housing societies be enforcing a dress code for common areas?
2.Should boxer shorts, nighties be allowed in common areas?