Files
pangolin/server
Marc Schäfer f617f93a94 test(middleware): add regression tests for cross-org site binding prevention
Test the org-match logic in verifySiteAccess:
- Same org: allowed
- Cross-org: rejected with 403
- No prior org context (site-only routes): check skipped, normal flow

Test route stack ordering:
- verifySiteAccess runs after verifyResourceAccess/verifyTargetAccess
- verifySiteAccess runs before the target create/update handler

Test security scenarios for both WireGuard and newt site types.

Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
2026-05-29 22:57:39 +00:00
..
2026-05-28 20:20:34 -07:00
2026-05-01 10:48:09 -07:00
2026-02-04 15:19:58 -08:00
2026-05-28 17:46:42 -07:00
2026-05-28 20:27:25 -07:00
2026-02-24 17:58:11 -08:00
2026-04-21 20:51:59 -07:00
2025-04-06 16:06:50 -04:00