headscale/hscontrol/policy/v2
Kristoffer Dalby a7c9721faa policy/v2: overhaul compat test infrastructure
Reworks the ACL/routes/grant/SSH compat harnesses to read
testcapture.Capture typed files, per-scenario topologies, strict error
wording match, and shared helpers. Surfaces policy-engine drift against
Tailscale SaaS.

Updates #3157
2026-04-17 16:31:49 +01:00
..
testdata testdata: add SaaS captures for compat tests 2026-04-17 16:31:49 +01:00
compiled.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
filter.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
filter_test.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
main_test.go all: fix test flakiness and improve test infrastructure 2026-03-14 02:52:28 -07:00
policy.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
policy_test.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
tailscale_acl_data_compat_test.go policy/v2: overhaul compat test infrastructure 2026-04-17 16:31:49 +01:00
tailscale_grants_compat_test.go policy/v2: overhaul compat test infrastructure 2026-04-17 16:31:49 +01:00
tailscale_routes_data_compat_test.go policy/v2: overhaul compat test infrastructure 2026-04-17 16:31:49 +01:00
tailscale_ssh_data_compat_test.go policy/v2: overhaul compat test infrastructure 2026-04-17 16:31:49 +01:00
types.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
types_test.go policy/v2: wire PolicyManager through compiledGrant 2026-04-17 16:31:49 +01:00
utils.go policy/v2: exclude exit routes from ReduceFilterRules 2026-04-01 14:10:42 +01:00
utils_test.go policy/v2: exclude exit routes from ReduceFilterRules 2026-04-01 14:10:42 +01:00