tailscale/ipn/localapi
Dominic Black 570cb018da
ipn/localapi: require only read permission for WatchIPNBus (#7798)
Allow calls to `WatchIPNBus` to be permformed by clients with
Readonly permissions. This brings it in line with the permissions
required for `Status`, which also exposes the similar information.

This allows clients to get realtime updates about the tailnet
in their own applications, without needing to actively poll the
`Status` endpoint.

Fixes https://github.com/tailscale/tailscale/issues/7797

Signed-off-by: Dominic Black <dom@encore.dev>
2023-06-04 09:05:21 -07:00
..
cert.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
debugderp.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
localapi.go ipn/localapi: require only read permission for WatchIPNBus (#7798) 2023-06-04 09:05:21 -07:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00