But then, no-one is advocating that the "ethical codes and rules" of the workplaces be violated. The topic was about people wanting to flirt, not to get fired or sued or create a hostile work environment. From what I understand, most workplaces do have procedures and protocols in place to address violations of said "ethical codes and rules"; read the manual, then proceed. If your co-worker/s doesn't/don't like it, then it's no longer flirting, it's harassment and you should have the common sense to stop yourself before you no longer have a say in the matter.
I am being sincere here.
By flirting at work you give other person authority and freedom to report you if things go south. You will never know when this person will start not liking since it will be up to that person to decide....
.....do you want that person to control the fate of your job?
This common sense argument may not work when sh!t hits the fan!
Many people (mostly men) get in to trouble this way. Especially if you have enemies at work.
One has to be cautious unless one does not care about the job or has a job of flipping burger.
Clean joking is by all means good however at work place.
Good safeguard advice: **Once you start seeing someone making flirtatious remarks at you at work, always talk about your SO or children to **deter that person.
Whatever floats your boat in the end. :)