Skip to content

feat(flobyte): enable multi-entity + per-entity from-email for resellers - #19

Merged
rrader26 merged 1 commit into
mainfrom
feat/flobyte-reseller-premium-flags
Jul 28, 2026
Merged

feat(flobyte): enable multi-entity + per-entity from-email for resellers#19
rrader26 merged 1 commit into
mainfrom
feat/flobyte-reseller-premium-flags

Conversation

@rrader26

Copy link
Copy Markdown

Activates growth-os#1246. The reseller model creates one Lago billing entity per reseller, but a stock org is capped at 1 entity (MULTI_ENTITIES_MAX). This adds an idempotent, non-destructive seed step (flobyte:seed) enabling the required premium integrations on the org:

  • multi_entities_enterprise — unlimited billing entities (one per reseller)
  • from_email — per-entity branded from-address on agency invoices

License.premium? is always-on in this fork, so these org flags are the only remaining gate. Only appends missing flags; dry_run-aware.

Run bin/rails 'flobyte:seed[<org_id>]' (or ,dry_run) to apply. Part of ThinkfleetAI/growth-os#1243.

The reseller/agency model creates one Lago billing entity per reseller, but a
stock org is capped at 1 entity (MULTI_ENTITIES_MAX) and per-entity from-email
is gated on an org premium flag. This adds an idempotent seed step that enables
the required premium integrations on the org:
  - multi_entities_enterprise: unlimited billing entities (one per reseller)
  - from_email: per-entity branded from-address on agency invoices

Non-destructive (only appends missing flags) and dry_run-aware. License.premium?
is always-on in this fork, so these flags are the only remaining gate.

Activates growth-os#1246 (agency billing entity provisioning).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rrader26
rrader26 merged commit c02f86d into main Jul 28, 2026
1 of 12 checks passed
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.

2 participants