nx_hr_admin.nx
buildroot/runtime/nx_hr_admin.nx
about
nx_hr_admin.nx -- CUTOVER (operator: "drive the cutover" off TSV): now a THIN COMPAT-SHIM that delegates the hra_*
API to nx_hr_sov (the sovereign nx_seg_store + canon HR directory). The API is byte-stable, so the daemons,
nx_hr_entitle, nx_hr_access, the provisioner, and every gate keep their CALLS -- only the STORAGE is now sovereign
(no tsv [[feedback-no-3rd-party-tsv-sovereign-store]]). The `store` param is now a seg_store PREFIX. The BASE nx_hr
(TAB-log) is LEFT untouched for torrent (nx_torrent_authn uses hr_resolve_level directly) -> NO sibling breakage.
seg_store auto-derives a unique commit id from the record content, so the hra_* API needs no segid (true drop-in).
dependencies 2 imports · 17 importers
diagram shows first 10 each side; +0 more imports, +7 more importers in the complete lists below.
imports: nx_hr_sov.nxnx_syscalls.nx
imported by: nx_account_admin_exceed_gate.nxnx_gen_gateway_daemon.nxnx_gen_gateway_gate.nxnx_gen_live_probe.nxnx_hr_access.nxnx_hr_access_gate.nxnx_hr_admin_gate.nxnx_hr_admin_page_gate.nxnx_hr_audit_gate.nxnx_hr_entitle.nxnx_hr_entitle_gate.nxnx_hr_provision_roster.nxnx_lan_signup.nxnx_lan_signup_gate.nxnx_lan_signup_routes.nxnx_lan_signup_socket_gate.nxnx_realm_multi_gate.nx
structs
| none |
consts
| 10 | const HRA_LVL_OWNER: i64 = 3 |
| 11 | const HRA_LVL_MEMBER: i64 = 1 |
| 12 | const HRA_LVL_NONE: i64 = 0 |
| 13 | const HRA_ST_NONE: i64 = 0 |
| 14 | const HRA_ST_ACTIVE: i64 = 1 |
| 15 | const HRA_ST_SUSPENDED: i64 = 2 |
| 16 | const HRA_ST_INVITED: i64 = 3 |
functions
| 19 | func hra_enroll(store: *u8, realm: *u8, realm_n: i64, handle: *u8, hn: i64, level: i64, family: *u8, ts: i64, actor: *u8, out_cid: *u8) -> i64 |
| 23 | func hra_invite(store: *u8, realm: *u8, realm_n: i64, handle: *u8, hn: i64, level: i64, family: *u8, ts: i64, actor: *u8, out_cid: *u8) -> i64 |
| 27 | func hra_claim(store: *u8, realm: *u8, realm_n: i64, handle: *u8, hn: i64, family: *u8, ts: i64, actor: *u8) -> i64 |
| 31 | func hra_suspend(store: *u8, realm: *u8, realm_n: i64, handle: *u8, hn: i64, family: *u8, ts: i64, actor: *u8) -> i64 |
| 36 | func hra_resolve_level(store: *u8, cred_id: *u8, cidlen: i64) -> i64 { return hrs_resolve_level(store, cred_id) } |
| 38 | func hra_is_invited(store: *u8, realm: *u8, realm_n: i64, handle: *u8, hn: i64) -> i64 { return hrs_is_invited(store, realm, realm_n, handle, hn) } |
| 40 | func hra_is_superadmin(store: *u8, cred_id: *u8, cidlen: i64) -> i64 { return hrs_is_superadmin(store, cred_id) } called by 7: gw_serve_connmainhac_session_is_supermainhe_super_oflsd_caller_super+1 calls 1: hrs_is_superadmin |
| 42 | func hra_roster_count(store: *u8, want_status: i64) -> i64 { return hrs_roster_count(store, want_status) } |