1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-01-04 00:09:34 +01:00
juanfont.headscale/cmd/headscale/cli
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
..
api_key.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
configtest.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
debug.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
dump_config.go add integration test for headscale -c 2022-06-05 23:13:58 +08:00
generate.go feat(aliases): add 'gen' alias for 'generate' command 2022-03-02 14:29:33 +10:00
mockoidc.go fix oidc test, add tests for migration 2024-11-23 21:14:55 +01:00
nodes.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
policy.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
preauthkeys.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
pterm_style.go Fix lint 2022-02-12 19:42:55 +00:00
root.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
routes.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
serve.go Fix slow shutdown (#2113) 2024-09-09 14:10:22 +02:00
users.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
utils.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
version.go Use new json wrapper for version command 2021-11-04 22:41:55 +00:00