allow doing是某人允许做某事;
allow to do sth 是允许某人做某事.allow to do sth 也可以换成allow sb to do sth.allow doing 却不能换成有sb的形式.