headscale/hscontrol/types
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
..
testdata Remove use_username_in_magic_dns option 2024-12-11 18:39:35 +01:00
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
config.go use headscale server url as domain instead of base_domain (#2338) 2025-01-16 18:05:20 +01:00
config_test.go Add worker reading extra_records_path from file (#2271) 2024-12-13 07:52:40 +00:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
node.go feat: support client verify for derp (add integration tests) (#2046) 2024-11-22 13:23:05 +01:00
node_test.go #2140 Fixed reflection of hostname change (#2199) 2024-10-17 09:45:33 -06:00
policy.go feat: implements apis for managing headscale policy (#1792) 2024-07-18 07:38:25 +02:00
preauth_key.go nits 2024-11-23 21:14:55 +01:00
routes.go make it harder to insert invalid routes (#2371) 2025-01-23 16:12:03 +01:00
routes_test.go use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
users.go simplify findUserByToken in ACL, add missing testcases (#2388) 2025-01-30 14:58:54 +01:00
users_test.go relax user validation to allow emails, add tests from various oidc providers (#2364) 2025-01-23 16:11:48 +01:00