It is her right to take maternity leave. If they don't allow it then they're quite frankly silly, effectively blaming her for getting pregnant (and they should have taken this into account when they employed her). If they continue to make problems then she can take this to the National Human Rights Commission.