mirror of https://github.com/tailscale/tailscale/
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>pull/1640/head
parent
e698973196
commit
c25ecddd1b
Loading…
Reference in New Issue