A senior federal police officer has launched legal action against the AFP, claiming she was discriminated against, and her career ruined, because she tried to transfer interstate to be with her girlfriend.