tailscale/tailcfg
Brad Fitzpatrick c25ecddd1b tailcfg: remove UserProfile.Roles field, add tests for legacy behavior
Old macOS clients required we populate this field to a non-null
value so we were unable to remove this field before.

Instead, keep the field but change its type to a custom empty struct
that can marshal/unmarshal JSON. And lock it in with a test.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-01 14:54:55 -07:00
..
derpmap.go tailcfg, net/netcheck: let control mark "Avoid" bit on DERP regions 2021-03-12 10:43:24 -08:00
tailcfg_clone.go tailcfg, net/portmapper, wgengine/magicsock: add NetInfo.HavePortMap 2021-03-09 15:17:24 -08:00
tailcfg_test.go tailcfg: remove UserProfile.Roles field, add tests for legacy behavior 2021-04-01 14:54:55 -07:00
tailcfg.go tailcfg: remove UserProfile.Roles field, add tests for legacy behavior 2021-04-01 14:54:55 -07:00