tailscale/ipn
Maisem Ali dd50dcd067 ipn/ipnlocal: handle untagging nodes better
We would end up with duplicate profiles for the node as the UserID
would have chnaged. In order to correctly deduplicate profiles, we
need to look at both the UserID and the NodeID. A single machine can
only ever have 1 profile per NodeID and 1 profile per UserID.

Note: UserID of a Node can change when the node is tagged/untagged,
and the NodeID of a device can change when the node is deleted so we
need to check for both.

Updates #713

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-11-18 14:00:19 +05:00
..
ipnlocal ipn/ipnlocal: handle untagging nodes better 2022-11-18 14:00:19 +05:00
ipnserver ipn/ipnserver: validate Host header on debug ServeHTMLStatus status 2022-11-17 23:02:40 -08:00
ipnstate all: store NL keys per profile 2022-11-15 19:51:52 +00:00
localapi ipn/localapi: require POST to add a bugreport marker 2022-11-17 21:54:06 -08:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store all: remove old +build tags 2022-11-04 07:25:42 -07:00
backend.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
doc.go ipn: add WebServerConfig, add views 2022-11-09 06:17:45 -08:00
fake_test.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
ipn_clone.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2022-11-17 16:09:43 -05:00
ipn_view.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2022-11-17 16:09:43 -05:00
message.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
message_test.go ipn: remove handle.go 2022-10-19 20:52:22 -07:00
prefs.go ipn/ipnlocal: handle untagging nodes better 2022-11-18 14:00:19 +05:00
prefs_test.go ipn: make Notify.Prefs be a *ipn.PrefsView 2022-11-04 04:00:26 +05:00
store.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2022-11-17 16:09:43 -05:00