You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
cert.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2 years ago
debugderp.go all: avoid repeated default interface lookups 2 years ago
disabled_stubs.go all: update copyright and license headers 2 years ago
localapi.go ipn/localapi: require only read permission for WatchIPNBus (#7798) 2 years ago
localapi_test.go all: use tstest.Replace more 2 years ago
pprof.go all: update copyright and license headers 2 years ago