Can a church pastor prohibit sacraments to people for any reason, other than mortal sin? A friend of ours alerted us to an example (maybe there are more) of a Catholic Church (took a little checking to make sure it was really a Catholic Church) that is only allowing people who are vaccinated to receive confessions.  Now, this seems like a constitutional crisis of faith to me.

Does this somehow tie vaccinations to grave matter?  Does it mean there are no private confessions?  Is this even legal, under church law?  What happens if you want to go to confession, but not get vaccinated (or you can't get vaccinated for whatever reason)?
As in most such cases: It depends on the context and is complicated. The relevant norms of the CIC are:

Can. 213 The Christian faithful have the right to receive assistance from the sacred pastors out of the spiritual goods of the Church, especially the word of God and the sacraments.


Can. 980 If the confessor has no doubt about the disposition of the penitent, and the penitent seeks absolution, absolution is to be neither refused nor deferred.


Can. 991 Every member of the Christian faithful is free to confess sins to a legitimately approved confessor of his or her choice, even to one of another rite.

Can. 980 (cited by Geremia) applies only to this situation: After the penitent stated his/her sins the priest does not want to give absolution because of non-spiritual reasons (personal differences etc.). This is not allowed. The norm does not say something about someone wanting to confess but not getting an appointment. In this case the condition &quot;the confessor has no doubt about the disposition of the penitent&quot; cannot be fullfilled.
More relevant are cann. 213 and 980. Every member of the faithful have a right to the sacraments, esp. to confession with a priest of his/her choice.
But to have a right does not mean, you can use it under every circumstances. If your selected priest has no time/is ill/... you will have to wait. And a if a pandemic compels some hygienic measures you will have to confess under that circumstances. If the vaccine reduces the risk of a confession I see no problem to differentiate between vaccinated and not-vaccinated christians.
The screenshot seems very harsh. But I have the strong presumption that it does not represent the full picture. Most priests will find possibilities to hear confessions as safe as possible, if someone really want. But they may also ask, if the penitent could wait a few weeks/months. That the public opportunities to confess are bound to vaccination seems justifiable to me. For the others one may find individual solutions.
The wording of the screenshot suggests before the vaccination-rule there was no possibility to confess. So let's celebrate there is more freedom now and not complain that the pandemic is not yet over!
The church wants to bring the grace of God in the sacraments to every human in the world. But it is restricted in its means by the earthly circumstances. This is not new, but we notice it in this pandemic in a hard way.