I'd say that this is a process...
When DD was little, it was "no these other kids don't get you, but it's not your fault and it's not theirs -- try to find common ground and also others you connect with better."
As she got older, it was "not everyone is going to like you and yes, that means grownups too, and that's OK." And then on to the more nuanced "you have to evaluate the authority that the person holds over you and respond in a way that makes sense for the situation you're in" and "the adult probably thinks they are hiding their thoughts and opinions of you... maybe you should just let them think that."
I have to say that as she enters adolescence the messaging around civil authority figures is by necessity somewhat politically charged, and not just by me, but by DD -- who's well aware of what goes on in the news and has strong opinions. She's not particularly compliant and has a strong anti-authoritarian streak as well.
I don't want to politicize this thread, but I'll say that we are approaching it with message of situational behavior and awareness. That in the moment, she should focus on putting others at ease (a skill she is usually very good at) and staying safe and save complaints or questions of authority or fairness or process for a later time.
This sort of thing hasn't come up much yet, but neither has she been tempted by smoking, drinking, or drugs... yet we've been messaging around those situations to her for years too.