Phase 14, parts 5 and 6: seats, and moving down to Free
Seats: inviting past the seats paid for offers the owner to add one (Stripe prorates it); admins are told to ask the owner; Free has two. Moving down: past the plan's seats, the owner and one other (the owner's pick, or the first to join) edit and the rest read; storage is measured hourly, and past the plan's, photo uploads and the SEO crawl stop. Nothing is deleted. TEST.md section 18. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -58,6 +58,12 @@ tools over MCP, approvals, limits and visibility, and the JSON API. Schema
|
||||
with a Postgres schema per team (decided 2026-11-26); schema 42. Next is
|
||||
Phase 14 (billing), or Phase 12 once the Core's `idproviders.yml` is in.
|
||||
|
||||
**Everything through Phase 13, and Phase 12, is merged and pushed**
|
||||
(2026-11-26). **Phase 14 (billing) is built** on branch `phase14` (Stripe,
|
||||
multi-tenant only, off without `SUPERMARKET_STRIPE_KEY`); schema 44. Then
|
||||
the user tests each edition by hand with TEST.md: local, server with the
|
||||
Core, multi-tenant.
|
||||
|
||||
**Phase 12 (signing in with the Core, OIDC) is built** on branch
|
||||
`phase12`, which starts from `phase13` (2026-11-26), with the Core's
|
||||
`idproviders.yml` as the guide. Not yet tried against a real Authelia. Phase 12 still needs who adds Supermarket's client to
|
||||
@@ -3286,6 +3292,34 @@ Checkout; both are off until set.
|
||||
only, before it's deleted again. Paying (`invoice.paid`) clears it all.
|
||||
- Each step goes in the team's audit log.
|
||||
|
||||
**Part 5 built 2026-11-26.**
|
||||
- Inviting someone (or adding someone from another team, or turning
|
||||
someone back on) checks the seats. The trial has no limit (Checkout
|
||||
counts the people). Free has two: past that, *subscribe*. Paid has the
|
||||
seats paid for: the owner is offered *Add a seat for them*, which sets
|
||||
the subscription's quantity one higher (Stripe prorates it) and then
|
||||
invites; an admin is told to ask the owner. Turning someone back on
|
||||
doesn't buy a seat: turn someone else off, or add seats in Stripe's
|
||||
billing page. Fewer seats are set there too.
|
||||
|
||||
**Part 6 built 2026-11-26.**
|
||||
- A team with more people than its plan's seats (moving down to Free,
|
||||
which has two): the owner and one other keep editing, the one the owner
|
||||
picks under Settings → Billing, or else whoever joined first. The rest
|
||||
keep their accounts and read what they could (an admin reads every
|
||||
module, as a member), and are told why when they try to change
|
||||
something. No one is removed.
|
||||
- Storage: the hourly billing turn measures each team's files and its
|
||||
schema's tables (`storage_used`). Past the plan's, a photo upload says
|
||||
the storage is full and the SEO crawl waits; nothing is deleted.
|
||||
Exports still work (a team on its way out can always take its data).
|
||||
A crawl's pages are kept in the team's tables, so the crawl waiting
|
||||
covers them; previews (and site clones) are Sites, which Free has only
|
||||
to read, so none are made.
|
||||
- TEST.md: section 18, on the multi-tenant pass with Stripe's test mode.
|
||||
|
||||
Phase 14 is built.
|
||||
|
||||
#### Order
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user