feat(ui): add admin IP whitelist gate backed by ADMIN_SECRETS #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_admin_ip_whitelist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Related Issue
Closes #9
Changes
crates/hero_livekit_ui/src/whitelist.rs(289 lines) -- WhitelistState, CIDR loading from hero_proc, axum middleware, background refresh task, PUT /admin/whitelist handlercrates/hero_livekit_ui/Cargo.toml-- added ipnetwork = "0.20" dependencycrates/hero_livekit_ui/src/main.rs-- mod whitelist, WhitelistState init, refresh task spawn, route + middleware wiringCargo.lock-- added ipnetwork 0.20.0Test Results
34 tests passed, 0 failures