Skip to content

Fix 'Authorization Failed' when anonymous user triggers token evaluation

Created by: MegaphoneJon

After upgrading to the latest version, anonymous users get "Authorization Failed" errors when registering for events, making donations, etc. That's because they're triggering the civi.token.eval event with their confirmation emails/receipts/etc., but contributionrecur_evaluate_tokens has an API4 call that doesn't bypass permissions.

Merge request reports

Loading