Has your daughter’s violent behaviour started since your boyfriend moved in?
Sounds to me like she’s had a loving mum almost to herself for years and now her world has changed in a way she doesn’t like.
I think you need to consider balance here very carefully. Personally, I would put my daughter’s rights and needs above my boyfriend’s. They certainly shouldn’t be below his.
It sounds like you have been parenting your own way, which was fine when there was just the two of you. There’s nothing wrong with relaxed parenting, so long as the love is there.
Having a great bond with your daughter (which it sounds like you had) means that, to an extent, he’s got to fit in around that, and he should also respect your parenting style. It sounds to me as if he doesn’t approve of yours and wants to assert his own, which in my book, is not okay.
He certainly shouldn’t be manhandling her back into bed. No wonder she lashed out. How do you think that made her feel?
I’m genuinely surprised by the responses you’ve received so far. Only you can really decide how this goes, but my feeling is that if he doesn’t fit into your little household, and doesn’t respect your parenting style (which presumably worked for you and DD before he moved in) that’s clearly a problem.
I guess the answer lies in whether you and she were happy before he came, and aren’t now. If you had problems with her behaviour before he arrived, then parenting classes might be the answer. If everything was working and you had a healthy, loving relationship with your daughter, which changed after he moved in, then he is the problem, or at least him not fitting into your set-up is.
Good luck with whatever you decide.