There was a period, maybe mostly the mid 1990’s until maybe 2012, when generally people didn’t mind if other “strangers” photographed them dancing in discos or in other gatherings. That was particularly true in gay discos. The improving social climate was part of it. But as social media got really serious and tagging could happen, that standard of courtesy changed quickly as to what was OK. Of course you normally can’t photograph employees at a private business anyway, but some places did ban photography of guests or customers. A few “white parties” even required turning in cell phones before entry. When I was using Blogger, I did discuss this issue in a few posts on the GLBT blog.
There is an article about this issue by Dalvin Brown in the Wall Street Journal Jan. 23, 2022, “How to Avoid Unwanted Photos on Social Media;
If you spot an unwanted photo of you on your News Feed, there are things you can do”.
He points out that in some countries, notably France, you can go to jail for taking a photo of someone without permission and publishing on line
Also, modern social media has made conflicts of interest in the workplace more likely than it was say in 2000 when blogging in the Web 1.0 world was just getting started and not too many people cared or knew.