fix(admin-tier): count admin-granted lifetimes toward slot usage #131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/bunyip-96"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
count_tier_assignments excluded lifetime memberships granted via admin override (subscription_override_by IS NOT NULL), so the Tier Settings page reported "0 lifetime slots used" despite active admin-granted lifetimes, and the lifetime-slot cap could not be enforced against them. An admin-granted lifetime occupies a real slot, so it must count the same as an organically-claimed one. Drop the override predicate so both the slot-usage display and the signup cap derive from a single, consistent count.
#BUNYIP-96
Branch-backed replacement for #123 (original was AGit/branchless, no merge button once behind main). Rebased clean onto current main.