code wiki / _hdl_build / nx_authz_svc_daemon.nx

nx_authz_svc_daemon.nx

buildroot/runtime/_hdl_build/nx_authz_svc_daemon.nx

2371 B50 linesdepth 8pulls 10 transitivereach 0 importersview sourcekind servicetopic authz
docsdependenciesstructsconstsfunctions

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

nx_authz_svc.nx nx_authz_svc_daemon.nx

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

main az_addr_lo sys_socket az_p rb_slen sys_setsockopt sys_bind sys_listen

structs

none

consts

8const AZ_MAGIC_65536: i64 = 65536
9const AZ_MAGIC_262144: i64 = 262144
11const AZ_PORT: i64 = 0x1f5d // 8029
12const AZ_STORE: *u8 = "authzsvc_"

functions

14func az_addr_lo(out: *u8, port: i64) -> i64
called by 1: main
23func main() -> i64