A little bit of backstory before we get into it, my boyfriend and have been together for a year and a half. We moved in together in November. 

So here is what happened; I woke up at nine so I could get ready for work, and I am a morning pooper. I always have to poop as soon as I wake up in the morning. So get up and walk into our one and only bathroom and he’s already in there running a bath. Of course since I just woke up I needed to poop, I see he is still clothed and I asked him to leave the bathroom while I poop and he flat out declines. 
At this point we have lived together long enough for him to know that not only am I a morning pooper, I poop fast. I’m talking start to finish, including washing my hands, no longer then 3 minutes and that’s if it’s taking me a while. 
I tell him he knows it’s only going to take me maybe two minutes and I’ll be done. He still refuses and tells me I can either poop in front of him while he’s taking a bath or I can hold it until he’s done. He said I needed to get used to pooping around him since we live together now even if I’m uncomfortable with it. 
I cannot poop in front of people, let alone my boyfriend, so I get obviously upset and passive aggressive and held it until he was done with his 40 MINUTE bath. 
I’ve been wondering since; am I the asshole for getting pissed off he wouldn’t let me poop, even though he was already using the bathroom? Or is he the asshole for not giving me three minutes to poop? 
Obviously he didn’t care if he smelled it either way. 