The title is not great, but it was the best I could do. Also this will sound like a lie, but I am actually asking for a friend. :)
Let's say that someone has a line manager that doesn't like him. This is not based on racism, but on work related circumstances:
The employee had an opportunity to get involved in a project and the line manager didn't like that. However the line manager could not stop the emploee from getting involved because someone higher up liked this idea and green-lighted it.
After that the line manager started being passive aggressive and then when there was an opening for a better position, the line manager promoted someone else instead of the employee that deserved it.
Now let's assume that this can be objectively proven. That the person that got promoted was underqualified for the position. Is this discrimination? Is this a legal problem for the company? If yes, which laws were violated?
Disclaimer: I do understand that usually this situations are complicated and something can look provable if you have partial information, but in practice can be covered efficiently. I do understand that legal action can be a very long, expensive and emotionally draining process. However, my question is about the legal framework. If this can be proven, is it a legal issue? And if yes, which laws were violated?