code wiki / _hdl_build / nx_authz_svc_daemon.nx
nx_authz_svc_daemon.nx
buildroot/runtime/_hdl_build/nx_authz_svc_daemon.nx
about
nx_authz_svc_daemon.nx -- the DEPLOYABLE sovereign authorization SERVICE (the single-writer authz plane). Binds
127.0.0.1:8029 (LOOPBACK ONLY -- internal service-to-service; the public boundary already authenticated the user,
so a caller's grantor identity is trusted here per rule 12). Owns ONE tuple store `authzsvc_` in the cwd
(nishihost/, elderwesto-writable -> single writer, no cross-daemon permission mismatch, no append race). Every
surface CHECKs and WRITEs through this over HTTP -> a group defined anywhere grants access everywhere. Build with
--build-only; supervised by a reconcile cron (elderwesto), same idiom as office/survey. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_authz_svc.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 8 | const AZ_MAGIC_65536: i64 = 65536 |
| 9 | const AZ_MAGIC_262144: i64 = 262144 |
| 11 | const AZ_PORT: i64 = 0x1f5d // 8029 |
| 12 | const AZ_STORE: *u8 = "authzsvc_" |
functions
| 14 | func az_addr_lo(out: *u8, port: i64) -> i64 called by 1: main |
| 23 | func main() -> i64 |