passed me over for John

“They passed me over for John.”
What does this sentence mean?

They chose John rather than chose me.

Very well explanation BE even I understand it :slight_smile:

“I was passed over in favour of John.”
Is it OK? Does it mean the same?

Yes, and yes. They favoured John over me.