summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorAndrew Lytvynov <awly@tailscale.com>2023-11-09 13:55:46 -0700
committerGitHub <noreply@github.com>2023-11-09 12:55:46 -0800
commit55cd5c575bce2c7557c9063c813040dc196b6847 (patch)
tree806bb4837e90c5657a6273fcecde5f23dc674817 /control/controlknobs/controlknobs.go
parent73de6a1a95f14a2cac4050a8a01d2873ef982ba3 (diff)
downloadtailscale-55cd5c575bce2c7557c9063c813040dc196b6847.tar.xz
tailscale-55cd5c575bce2c7557c9063c813040dc196b6847.zip
ipn/localapi: only perform local-admin check in serveServeConfig (#10163)
On unix systems, the check involves executing sudo, which is slow. Instead of doing it for every incoming request, move the logic into localapi serveServeConfig handler and do it as needed. Updates tailscale/corp#15405 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions