Peergos account linking + billing-sourced quotas (quota-admin hook) + customer flags #5
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/peergos-link-quota"
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?
Approved by George (1:1): build the account linking and Free quota, and deploy it.
/portal/api/peergos/{challenge,signup,link,links,link-status}; ownership is proven by a single-use challenge signed with the Peergos identity key, verified against the key embedded in the owner CID. Staff unlink:DELETE /admin/api/peergos/links/:username./quota-admin/*implements Peergos HttpQuotaAdmin (paid mode). Free 1 / Pro 50 / Business 500 GiB from the linked tier; internal grokbot* 5 GiB; unlinked 1 GiB (30-day grace reported); floored at imported legacy quotas and staff overrides.Docs: docs/PEERGOS-BILLING.md (Account linking, Quotas), USAGE-BILLING-API.md, ENV-MATRIX.md.