An ex did the “no female friends” thing to me. Didn’t say it outright but got very annoyed and accused me of cheating at pretty much any contact. I remember when a girl I’d been friends with since infant school offered me a lift to her boyfriends house (all in the same friendship group, going round there for his 21st birthday drinks/party, his parents, relatives and other friends were all there) as she was driving past my front door to get there. I ended up in trouble because we were obviously going to get up to no good during the 5 minute drive.
It was probably all projection as she’d worked her way through pretty much all of her male colleagues by the time we broke up, while acting like I was the one doing something wrong. She probably assumed I was doing the same things she was (I wasn’t).
It may very well have not got that far, or all be completely innocent on her part in this case but it’s still unreasonable for her to set one lot of rules for you that she doesn’t follow herself.