EU applicants have full working rights in Germany.
Non-EU applicants: During the preparatory phase it is not possible to work as a student or at best it might be possible to work during the winter and summer holidays. However, once you enter university, it is possible to work part-time as a student in Germany.