pub fn is_user_allowed(allowed: &[String], user: &str, mode: Match) -> boolExpand description
Return true when user is allowed under allowed.
Single source of truth for the per-channel is_user_allowed checks.
Callers spell their channel’s case-sensitivity by passing the
matching Match variant; the helper handles the wildcard, empty,
and per-entry comparisons identically across every channel.