mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-13 06:19:11 -04:00
State keys written by dev-set-state-store are otherwise gated by their own handlers, for example serve-config requires a local admin before storing a _serve/<profile-id> key. Writing such a key directly through dev-set-state-store skipped that check. Require`IsLocalAdmin` in the handler, the same check serve-config performs. Credit to @johnnymiranda for reporting this issue. Fixes tailscale/corp#47886 Change-Id: Ie82f961b016f78895793d801929a4fa11ebf7fd8 Signed-off-by: Mike Jensen <mikej@tailscale.com>