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