Have a hand in (something)

To be partly responsible for something.

I think that the woman had a hand in getting her friend fired from her job.