headscale/hscontrol
Kristoffer Dalby 770f3dcb93
fix tags not resolving to username if email is present (#2309)
* ensure valid tags is populated on user gets too

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

* ensure forced tags are added

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

* remove unused envvar in test

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

* debug log auth/unauth tags in policy man

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

* defer shutdown in tags test

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

* add tag test with groups

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

* add email, display name, picture to create user

Updates #2166

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

* add ability to set display and email to cli

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

* add email to test users in integration

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

* fix issue where tags were only assigned to email, not username

Fixes #2300
Fixes #2307

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

* expand principles to correct login name

and if fix an issue where nodeip principles might not expand to all
relevant IPs instead of taking the first in a prefix.

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

* fix ssh unit test

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

* update cli and oauth tests for users with email

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

* index by test email

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

* fix last test

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-12-19 13:10:10 +01:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
derp feat: derpmap field in config (#1823) 2024-10-17 05:34:20 -06:00
dns fixes to extra-record file watcher (#2298) 2024-12-16 11:26:56 +01:00
mapper Add worker reading extra_records_path from file (#2271) 2024-12-13 07:52:40 +00:00
notifier Fix slow shutdown (#2113) 2024-09-09 14:10:22 +02:00
policy fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
templates Correct macOS GUI connect guide because there's no ALT key on a mac (#2306) 2024-12-17 12:11:27 +00:00
types fix issue where some oidc claim bools are sent as string (#2297) 2024-12-16 11:26:32 +01:00
util Add worker reading extra_records_path from file (#2271) 2024-12-13 07:52:40 +00:00
app.go fix sighup issue with empty acl (#2296) 2024-12-16 07:48:19 +01:00
auth_noise.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
auth.go Add worker reading extra_records_path from file (#2271) 2024-12-13 07:52:40 +00:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
handlers.go feat: support client verify for derp (add integration tests) (#2046) 2024-11-22 13:23:05 +01:00
metrics.go Handle /derp/latency-check (#2227) 2024-11-06 15:59:38 +01:00
noise.go bump deps (#2308) 2024-12-17 15:35:42 +01:00
oidc.go Add worker reading extra_records_path from file (#2271) 2024-12-13 07:52:40 +00:00
platform_config.go Changed all the html into go using go-elem (#2161) 2024-10-04 11:39:24 +00:00
poll.go wrap policy in policy manager interface (#2255) 2024-11-26 15:16:06 +01:00
suite_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
tailsql.go Use result of fmt.Errorf call (#1668) 2024-02-15 11:02:54 +01:00