You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Marwan Sulaiman 2dc0645368 ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile
This PR starts to persist the NetMap tailnet name in SetPrefs so that tailscaled
clients can use this value to disambiguate fast user switching from one tailnet
to another that are under the same exact login. We will also try to backfill
this information during backend starts and profile switches so that users don't
have to re-authenticate their profile. The first client to use this new
information is the CLI in 'tailscale switch -list' which now uses text/tabwriter
to display the ID, Tailnet, and Account. Since account names are ambiguous, we
allow the user to pass 'tailscale switch ID' to specify the exact tailnet they
want to switch to.

Updates #9286

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
7 months ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 8 months ago
ipnauth ipn/ipnauth: improve the Windows token administrator check 7 months ago
ipnlocal ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile 7 months ago
ipnserver ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 7 months ago
ipnstate ipn/{ipnlocal,ipnstate,localapi}: add localapi endpoints for client self-update (#10188) 7 months ago
localapi {client/web},{ipn/ipnlocal}: replace localapi debug-web-client endpoint 7 months ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 7 months ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 9 months ago
backend.go cmd/tailscale,ipn/ipnlocal: print debug component names 8 months ago
conf.go ipn: add user pref for running web client 7 months ago
doc.go all: update copyright and license headers 1 year ago
fake_test.go all: update copyright and license headers 1 year ago
ipn_clone.go ipn: introduce app connector advertisement preference and flags 7 months ago
ipn_test.go net/packet: split off checksum munging into different pkg 8 months ago
ipn_view.go ipn: introduce app connector advertisement preference and flags 7 months ago
prefs.go ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile 7 months ago
prefs_test.go ipn: introduce app connector advertisement preference and flags 7 months ago
serve.go ipn/localapi: require local Windows admin to set serve path (#9969) 7 months ago
serve_test.go ipn/localapi: require local Windows admin to set serve path (#9969) 7 months ago
store.go taildrop: lazily perform full deletion scan after first taildrop use (#10137) 7 months ago
store_test.go ipn: avoid useless no-op WriteState calls 10 months ago