It's all in the dialouge. If you talk to your allies enough, and you're a Jedi Master, you can train all of your non-droid allies to be jedi, Bao Dur, Mira, Handmaiden, Atton and the Disciple(if you don't have the handmaiden). The only exception is the wookie.