So, 3 years ago started a new job. We'd been ttc for a few years so remained in old job for longer than ideal as didnt want to start a new job and immediately fall pregnant. Of course, that's exactly what happened, so worked very hard for 6 months in a brand new service (public sector. v stressful, long hours etc). The week before going on mat leave had a meeting with the service manager who thanked me for hard work, was very positive about my input and asked if I would be interested in a new, more senior post, as the exisitng post holder was leaving. I said absolutely, would be delighted to have that opportunity (new post was the top of my field) but highlighted I would probably want to return 3 days a week. He says fine, p/t would suit the job well. Go off on mat leave and 2 months before I'm due to return I hear the post has been advertised and they've appointed another person at my same level from a different team. I felt quite shocked and upset but have returned to work and continued as normal - not a word about previous conversation from manager of course. Realise I should just move on as manager is a powerful figure and could make life v tough for me, however I feel really resentful about this, and it's negatively affecting my view of the role and the service. This is blatant sex discrimination, yes? Or should I just suck it up and feel lucky I've got a job to go back to?