There have been lots and lots of fatwas against violence. But it is an interesting question. A Mufti is the person that issues the fatwa and you'll find Muftis at all the Madrasas. Basically once you've studied for long enough you have the authority to issue a fatwa. But there are limits. I can bang on and on on the point but all I'm really saying is that there isn't a simple answer.