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>
1 year ago
..
cert.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 1 year ago
debugderp.go all: avoid repeated default interface lookups 1 year ago
disabled_stubs.go all: update copyright and license headers 1 year ago
localapi.go ipn/localapi: require only read permission for WatchIPNBus (#7798) 1 year ago
localapi_test.go all: use tstest.Replace more 1 year ago
pprof.go all: update copyright and license headers 1 year ago