headscale/hscontrol/policy/v2
Kristoffer Dalby b051e7b2bc policy/v2: wire PolicyManager through compiledGrant
Threads PolicyManager into compiledGrant so via grants resolve
viewer identity at compile time instead of re-resolving per MapRequest.
Adds a matchersForNodeMap cache invalidated on policy reload and on node
add/remove.

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 testdata: convert .json to .hujson with header comments 2026-04-01 14:10:42 +01:00
tailscale_grants_compat_test.go testdata: convert .json to .hujson with header comments 2026-04-01 14:10:42 +01:00
tailscale_routes_data_compat_test.go testdata: convert .json to .hujson with header comments 2026-04-01 14:10:42 +01:00
tailscale_ssh_data_compat_test.go testdata: convert .json to .hujson with header comments 2026-04-01 14:10:42 +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