Files
headscale/hscontrol
Kristoffer Dalby ebdbe03639 policy: validate autogroup:self sources in ACL rules
Tailscale validates that autogroup:self destinations in ACL rules can
only be used when ALL sources are users, groups, autogroup:member, or
wildcard (*). Previously, Headscale only performed this validation for
SSH rules.
Add validateACLSrcDstCombination() to enforce that tags, autogroup:tagged,
hosts, and raw IPs cannot be used as sources with autogroup:self
destinations. Invalid policies like `tag:client → autogroup:self:*` are
now rejected at validation time, matching Tailscale behavior.
Wildcard (*) is allowed because autogroup:self evaluation narrows it
per-node to only the node's own IPs.

Updates #3036
2026-02-05 19:29:16 +01:00
..
2025-12-18 10:02:23 +01:00
2025-09-09 09:40:00 +02:00
2026-01-16 14:54:04 +01:00
2025-12-17 12:32:04 +01:00
2025-09-09 09:40:00 +02:00
2025-12-10 15:55:15 +01:00
2025-12-10 15:55:15 +01:00
2025-12-10 15:55:15 +01:00
2025-12-10 15:55:15 +01:00