I would probably if that was a big list of things not to do.
Defining a few not okays things that may happens, that's fine. The issue is when it become TOO formal. I don't expect the same from a small gathering at work, or from a night with friends. There's certainly things that shouldn't happen in both, but they aren't the same at all.
She said code of conduct, but her example is an actual guideline that is way more specific on what will be done.
https://pastebin.com/6kA93uPV
So I send you back your example, would you go on a bar that have that huge list that you need to agree with when you enter?
- You can come in, take a few drinks in exchange of money
- You can make small talks, but only related to the drink you just took
- Try to use the I when talking about drinks
- Ask people first if they want suggestion toward another drinks
- Don't share what you talked about with anyone else
etc...
Someone else here gave another example which I would agree without any issue, about sexualized language, attention or advances (which funnily enough, I would agree with theses terms even in a bar setting, would you?), trolling, insulting/derogatory comments, and personal or political attacks, public or private harassment.