Here are the numbers:
Total participants: 52238.
Previously infected: 2579, of whom 1220 vaccinated, 1359 not vaccinated. No subsequent infections in either of these groups.
Not previously infected: 49659, of whom 29461 vaccinated (15 subsequent infections), 20198 not vaccinated (2139 subsequent infections).
Comparing previous infection with vaccination, we have 0/1359 infections in the previously infected and 15/29461 infections otherwise. According to Fisher's exact test, the two-tailed P-value for this is 1.0, which is very much not significant. You're correct to say that the study doesn't show how vaccines compare to previous infection. The study is way underpowered to show that.
For the unvaccinated, it gets more interesting. We have 0/1359 infections versus 2139/20198. According to Fisher, that has a P-value of 2 * 10^-64, which is most definitely significant. The study is not underpowered to show this at all. A previous infection is definitely protective.
With the caveat that the participants didn't have asymptomatic screening, so there is quite possibly bias due to people with a previous infection getting a second milder case and not being tested.
Using the exact method, 95% confidence intervals for infection rate are:
Previously infected, not vaccinated: 0% to 0.3%
Previously infected, vaccinated: 0% to 0.3%
Not previously infected, not vaccinated: 10.1% to 11.0%
Not previously infected, vaccinated: 0.03% to 0.08%