I'm on maternity leave and heard from a colleague about someone leaving in a team I work with. It's an area I definitely want to move into, vacancies don't come up very often, and it would be a slight step up but with a lot more opportunity to progress. I looked on the internal job site and applied for the job. It's a permanent position. Last week they offered me an interview and asked me to give some available times.
Then yesterday someone from the internal recruitment team rang me to say she'd heard I was on maternity leave, was that correct and when was I due back. I told her it was, and that my leave is due to end in about 4 months.
After the call ended I pretty much immediately got an email saying that although it was "obvious [my] skills match the role" they need someone sooner and so won't be interviewing me.
Is this allowed? They offered me an interview and said my skills match the role, can they take back the interview offer after finding out I'm on maternity leave? If I was pregnant, they wouldn't be allowed to not interview me because I was going on maternity leave soon, would they? Does it work the same way while I'm on mat leave?
If it's relevant, I've worked there 3 years, and am taking just under 9 months maternity leave.