I was recently spending the night with someone when at 5AM the door was busted down. I was awoken to a cop pointing a gun at my face screaming for me to get on the floor. A cop initially did not allow me properly dress myself (I am a female and was sleeping nude), but another handed me a shirt. The entire house was handcuffed and taken outside during the search (warrant was for a roommate's possession of cocaine.) When the person I was spending the night with looked over to check on me after the officer attempted to not let me dress myself, he was forcibly stepped on by another officer pressed down on the floor.
Is all of this allowed during a warranted search?
Also, who is responsible for the door and frame which was broken?