Skip to content

feat(tiering): clear stale view-only locks within tier + nav Pricing->Pro#2515

Merged
topherwhite merged 1 commit into
masterfrom
rfcx-local/view-only-reframe-20260629
Jun 29, 2026
Merged

feat(tiering): clear stale view-only locks within tier + nav Pricing->Pro#2515
topherwhite merged 1 commit into
masterfrom
rfcx-local/view-only-reframe-20260629

Conversation

@topherwhite

Copy link
Copy Markdown
Member

Follow-up to the free/pro reframe (#2514).

View-only (is_locked) cleanup

The legacy model locked projects (view-only: blocks edits/analyses/exports/member-changes) when a user exceeded the old per-tier project COUNT caps. Under the reframe those caps are gone, so most locks are now stale. Migration 260629-04 clears is_locked for every project that should not be view-only:

  • premium projects, pro-owned projects, and free projects within the free tier (≤526,000 recording minutes AND ≤3 collaborators).
  • Only free projects that genuinely exceed a free limit (>526k recordings OR >3 collaborators) stay view-only.

Computed against live (2026-06-29): 1,228 unlock, 215 stay locked (of 1,443). Recording-over-limit set is baked in by id_arbimon (recording minutes live in legacy arbimon2, not Bio PG); collaborator axis read from the PG quota view. One-shot data correction; down is a no-op (lock state was a legacy-model artifact). No code path auto-re-locks (verified: only dormant downgrade/admin BLL paths write is_locked).

Nav

Top-bar menu item Pricing → Pro (still links to the pricing route for now).

Built + lint clean (cli tsc, website vite-ssg). Migration applied live via biodiversity-cli-migrate after merge. Design: rfcx-local runbooks/DESIGN-arbimon-tier-rules-reframe-2026-06-29.md.

…ricing->Pro

Follow-up to the free/pro reframe (#2514):
- Migration 260629-04: clears is_locked (view-only) for projects that should not
  be view-only under the new model — premium projects, pro-owned projects, and
  free projects within the free tier (<=526k recording minutes AND <=3
  collaborators). Only free projects that genuinely exceed a free limit stay
  view-only. Computed against live 2026-06-29: 1,228 unlock, 215 stay locked.
  (Recording-over-limit set is baked in by id_arbimon since recording minutes
  live in legacy arbimon2, not Bio PG; collaborator axis read from the PG quota
  view. One-shot data correction; down is a no-op.)
- navbar: top-bar menu item 'Pricing' -> 'Pro' (still links to the pricing route
  for now).
@topherwhite topherwhite merged commit b1d891c into master Jun 29, 2026
2 checks passed
@topherwhite topherwhite deleted the rfcx-local/view-only-reframe-20260629 branch June 29, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant