Allowed? Where on Earth do you get the idea that the EU Commission has 'allowed' vaccine export? Vaccines have been purchased, paid for and exported by private companies according to contract law. Any detriment to 'their own people' is entirely down to the incompetence and greed of the EU Commission and this should not be a surprise to anyone, given their current EU Commission President.
Minor issue with that one - the EU contract with AZ was signed the day before the UK contract with AZ, but AZ claimed that the UK contract, being older, took precendence. So contract law has been put through a wringer by this whole mess, and it hasn't exactly "been cricket", so to speak, because in cricket, people object if the keeper pulls out a cosh and knocks out the batsman as the bowler runs up.
I may have mangled that analogy, cricket isn't exactly a popular sport here, I learned what I know of the rules of the sport from Douglas Adams. I still don't know where the alien spaceship bit comes in.
The other minor point that ought to be mentioned is that a lot of the vaccines are physically located within the EU in their various factories and storage facilities, and yes, the companies involved legally required permissions to export those vaccines, which they have gotten from the EU.
And it should be pointed out that that's not a universal thing - the US hasn't been exporting any (neither has the UK btw), and in general we - the entire human race, that is - have been the usual disappointment to our grandkids when it comes to vaccine distribution. Most of the guys I'm talking to daily in the US (I work for a MNC) are getting their jabs now, as are some in the UK, but if you're in Kenya, you're not getting a vaccine till sometime in 2023 at this rate.
And that's not some wishy-washy do-gooder ethics problem, to borrow a phrase, it's a gun to our heads because where do you think B117 came from? Or the newer variants that are arising? You don't vaccinate all eight billion of us, and all you're doing is leaving open the door for a new variant that maybe even the mRNA vaccines aren't effective against, and then we're right back to March 2020 again.
And the WHO have been warning about this for *months* now. It's one of the biggest risks they see over the next few years.