auth/role_schema.ts view source
ReadonlyMap<string, RoleSpec> import {builtin_role_specs_by_name} from '@fuzdev/fuz_app/auth/role_schema.js'; Builtin role specs, keyed by role name. Not overridable by consumers
— read once at startup by create_role_schema and the action
factories that fall back to builtins when no consumer roles is
supplied. ReadonlyMap encodes the contract; runtime mutation has
no effect on already-built role schemas (the factory copies entries
into a fresh Map).