The exact phrase from the book of Swan (the context is choosing the words permit or allow) -
The passive structure with it is only possible with permit
Having said that...
It is not allowed to smoke in the kitchen - incorrect
It is not permitted to smoke in the kitchen - correct
I feel absolutely fine for the incorrect sentence.
Your inputs please. Make me understand this.