headscale/hscontrol/policy/v2
Kristoffer Dalby d40203e153 policy: update tests for SSH validation rules
Update unit tests to use valid SSH patterns that conform to Tailscale's
security model:

- Change group->user destinations to group->tag
- Change tag->user destinations to tag->tag
- Update expected error messages for new validation format
- Add proper tagged/untagged node setup in filter tests

Updates #3009
Updates #3010
2026-01-21 17:01:30 +00:00
..
filter.go make tags first class node owner (#2885) 2025-12-02 12:01:25 +01:00
filter_test.go policy: update tests for SSH validation rules 2026-01-21 17:01:30 +00:00
policy.go policy: fix asymmetric peer visibility with autogroup:self 2026-01-21 14:35:16 +01:00
policy_test.go policy: fix asymmetric peer visibility with autogroup:self 2026-01-21 14:35:16 +01:00
types.go policy/v2: validate SSH source/destination combinations 2026-01-21 17:01:30 +00:00
types_test.go policy: update tests for SSH validation rules 2026-01-21 17:01:30 +00: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