I find this debate very strange, to be honest, and suspect a lot of it is down to older generations assuming that modern postpartum circumstances will be the same as when they gave birth.
Nearly 40 years ago, my MIL had two caesareans and stayed in for a fortnight with each. Her babies were taken to the maternity nursery and only brought back for feeds on a regular basis and for visiting times. And visiting times were strict back then, along with permitted numbers by the bed. You could prepare for them and know they would only last for a certain time. There was no way a mother would be expected to receive visitors at the bedside so soon after birth. It just wasn't done. It was pretty much the same deal with my DM forty-odd years ago.
But now, it's a bit of a free-for-all. A midwife actually let my DM into the delivery room when I was in established labour, despite neither DH or I ever having said that was okay. And it was extremely difficult because my DM flaps like crazy in stressful circumstances, and her obvious anxiety levels and panic were dialing my contractions up to 11. I was then put in the unenviable position, in between regular four minute contractions, of having to tell my mum to go home, which made me feel like utter shit and was an added stress I really didn't need at that point.
The aftermath of the birth was a disaster (blood pressure collapsed, retained placenta requiring manual evacuation, bed was covered in blood, baby had dried blood on its face, I was a mess), and there was no way I could trust the midwife not to let anyone into the room until I was sorted out properly, which took a good few hours or more. Had my PIL been present in the hospital at that point, they would have no doubt come into the room because there was no one to stop them and they wouldn't have understood why they couldn't, and the outcome would have been extremely awkward and embarrassing for everyone concerned.
I think a lot of this problem is down to a distinct lack of policed rules and regulations on maternity wards these days. I've been on a/n and p/n wards where two visitors per bed were actually six or more, bashing into other patients beds, and small children have played "peekabo" other patients' curtains as thought it were some sort of game. I've seen women's waters break in the middle of an a/n ward in front of male strangers, which occurred pretty much because there were no policed visiting times so there were male strangers on the ward from 8am to 10pm every day.
The situation is such that now you really have to "manage" your post-natal hospital visitors in a way that just didn't occur thirty+ years ago, and this is on top of sorting yourself out after birth, getting stitched, and establishing feeding, along with any other issues you may face with a possibly screaming baby next to you in a perspex crib. You can no longer rely on a ward authority to control your visitors for you while you sort yourself out.
So I really don't blame the OP for not wanting to deal with this while she is still in hospital, recovering from birth. But I also know that older generations just do not understand this because it is so different from their experiences, and think that modern mums are either being horrible or extremely precious.