mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
The owner an account is filed under is orgs[0] of every token it is ever issued, the org platform authority is decided on. users.Create held the username to a rule and the owner to none, so a SuperAdmin's create stored Admin/<name> and ac/me/<name>: accounts in orgs that do not exist, the first of which a case-folding reader took for the reserved org. The org name rule moves to schema.OrgName and every write that files a principal under an org asks it; a name that is not one is refused, never lowercased.