code wiki / _hdl_build / nx_gen_authz_gate.nx
nx_gen_authz_gate.nx
buildroot/runtime/_hdl_build/nx_gen_authz_gate.nx
about
nx_gen_authz_gate.nx -- proves the AREA-APPROVAL authZ (operator 2026-06-24: "use my nishifamily login + OPAQUE
allows access to NEW areas they're approved on"). REUSES the existing entitlement engine (nx_hr_entitle): grant
/gen to a handle via he_ent_put (the rollout/approval action), then he_has_access gates per-area. NO new auth realm.
GREEN iff: granted->access, NOT-granted->denied (deny-by-default), public "*"->all, owner(super)->all, unknown-area->denied.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_hr_entitle.nxnx_syscalls.nxnx_gate_verdict.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
| 10 | const GA_ENT: *u8 = "knowledge/status/gen_authz_test_ent-" |
functions
| 12 | func ga_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func ga_pn(v: i64) -> i64 |
| 21 | func main() -> i64 |