headscale/hscontrol/policy/v2
Kristoffer Dalby 56db4ed0f1
policy/v2: validate that no undefined group or tag is used (#2576)
* policy/v2: allow Username as ssh source

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy/v2: validate that no undefined group or tag is used

Fixes #2570

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy: fixup tests which violated tag constraing

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-09 11:51:30 +02:00
..
filter.go Make more granular SSH tests for both Policies (#2555) 2025-05-04 12:05:41 +00:00
filter_test.go error on undefined host in policy (#2490) 2025-05-01 14:30:52 +02:00
policy.go policy: reduce routes sent to peers based on packetfilter (#2561) 2025-05-04 21:52:47 +02:00
policy_test.go Make matchers part of the Policy interface (#2514) 2025-05-01 07:06:30 +02:00
types.go policy/v2: validate that no undefined group or tag is used (#2576) 2025-05-09 11:51:30 +02:00
types_test.go policy/v2: validate that no undefined group or tag is used (#2576) 2025-05-09 11:51:30 +02:00
utils.go Experimental implementation of Policy v2 (#2214) 2025-03-10 16:20:29 +01:00
utils_test.go Experimental implementation of Policy v2 (#2214) 2025-03-10 16:20:29 +01:00