mirror of
https://github.com/dataelement/bisheng.git
synced 2026-09-01 15:32:50 +08:00
ad2526b951
find_membership defaulted to ACTIVE-only for channels, so the approval activation flow could not locate the applicant's PENDING membership and on_approved silently returned missing_membership — outbox/instance reported success while the membership stayed PENDING and no ReBAC grant was written, so the channel never appeared in the user's subscription list. - find_membership: add include_inactive flag (default keeps ACTIVE-only) - approval activation paths pass include_inactive=True - on_approved now raises on missing membership instead of faking success - add regression tests + repair script for stuck instances 248/250/251/252