headscale/hscontrol/policy
Kristoffer Dalby 7ba6ad3489
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=386 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm GOOS=linux GOARM=5) (push) Waiting to run
Build / build-cross (GOARCH=arm GOOS=linux GOARM=6) (push) Waiting to run
Build / build-cross (GOARCH=arm GOOS=linux GOARM=7) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Tests / test (push) Waiting to run
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 11:35:49 +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 11:35:49 +01:00
acls_test.go simplify findUserByToken in ACL, add missing testcases (#2388) 2025-01-30 11:35:49 +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