Volleyball Elite Academy development update
|
Volleyball Elite Academy
Cover the 'league athletes only' filter on the community-invite send
|
Cover the 'league athletes only' filter on the community-invite sendVolleyball Elite Academy — Development Update • May 28, 2026
--- title: Cover the 'league athletes only' filter on the community-invite send ---
Cover the 'league athletes only' filter on the community-invite send
## What & Why The new test in covers the default academy-wide path of , but the same handler in (~line 10398) also accepts . In that mode it calls , builds a set of registered-league athlete emails, and rejects any selected person whose email is not in that set with the error .
That branch is currently untested. A regression — for example an off-by-one in the email-normalization (), or accidentally dropping the filter check — would let admins send the "league-athlete-only" campaign to non-league community members without anyone noticing.
## Done looks like - A new test case in posts and asserts: - A person whose matches a registered league player gets called and a NotificationLog row. - A person whose does NOT match any league player is pushed into as , with no email send and no NotificationLog row. - Email matching is case-insensitive / whitespace-insensitive (mirrors the normalization in the handler).
## Relevant files - (handler ~line 10388, league-filter branch ~10399–10431) - (extend with a block; mock )
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment