mirror of
https://github.com/hanzoai/account.git
synced 2026-09-30 20:38:12 +00:00
f4de54707b74f137d6c381f62f1a35cab696cb4e
account.Of(org, user) is the single rule for who a request pays as, shared by every serving layer so a customer can never top up one account and spend from another. Simple verbs (Of, OfKind, OfKey, Personal); the two facts (org, user) in, the account out. Default per-org; a Personal org holds per-user accounts. Collapses the hand-synced copies in ai/object/billing_subject.go and commerce/api/billing/resolve.go onto one leaf.
Description
pull mirror of github.com/hanzoai/account
166 KiB
Languages
Go
100%