headscale/hscontrol/policy
Kristoffer Dalby 46b82269e0
simplify findUserByToken in ACL, add missing testcases (#2388)
* update users doc on unique constraints

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

* simplify finduser func

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

* add initial tests for findUserFromToken

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

* add changelog

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-01-30 14:58:54 +01:00
..
matcher Finish SSH 2023-06-21 10:31:48 +02:00
acls.go simplify findUserByToken in ACL, add missing testcases (#2388) 2025-01-30 14:58:54 +01:00
acls_test.go simplify findUserByToken in ACL, add missing testcases (#2388) 2025-01-30 14:58:54 +01:00
acls_types.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
pm.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
pm_test.go wrap policy in policy manager interface (#2255) 2024-11-26 15:16:06 +01:00