headscale/hscontrol/policy/v2
Kristoffer Dalby 506bd8c8eb policy: more accurate node change
This commit changes so that node changes to the policy is
calculated if any of the nodes has changed in a way that might
affect the policy.

Previously we just checked if the number of nodes had changed,
which meant that if a node was added and removed, we would be
in a bad state.

Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
2025-12-16 10:12:36 +01:00
..
filter.go make tags first class node owner (#2885) 2025-12-02 12:01:25 +01:00
filter_test.go make tags first class node owner (#2885) 2025-12-02 12:01:25 +01:00
policy.go policy: more accurate node change 2025-12-16 10:12:36 +01:00
policy_test.go policy: more accurate node change 2025-12-16 10:12:36 +01:00
types.go tags: process tags on registration, simplify policy (#2931) 2025-12-08 18:51:07 +01:00
types_test.go tags: process tags on registration, simplify policy (#2931) 2025-12-08 18:51:07 +01:00
utils.go modernize: run gopls modernize to bring up to 1.25 (#2920) 2025-12-01 19:40:25 +01:00
utils_test.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00