The correct answer is C. did not allow.

The sentence is in the past tense, so we need to use a past tense verb. The other options are all in the present tense.

A. does not allow is in the present tense, but the sentence is about something that happened in the past.

B. allows is also in the present tense, and it does not make sense to say that someone allows something to happen in the past.

D. has not allowed is in the present perfect tense, but it does not make sense to say that someone has not allowed something to happen in the past.

Therefore, the only option that makes sense is C. did not allow.