Files
tailscale/util/syspolicy/policyclient/policy_snapshot_omit.go
kari-ts 00650c0b3b ipn, ipn/local: expose hidden device gui gui_visibility (#21822)
This interprets HiddenNetworkDevices per watch session and sends GUI visibility metadata for peers (without filtering them). We refresh the visibility snapshot when policy or peer membership changes.

Updates tailscale/corp#44104

Signed-off-by: kari-ts <[email protected]>
2026-10-23 11:45:38 -07:00

16 lines
381 B
Go

// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build ts_omit_syspolicy
package policyclient
import "tailscale.com/util/syspolicy/pkey"
// PolicySnapshot is a stub when syspolicy is omitted from the build.
type policySnapshot struct{}
func GetStringArrayFromSnapshot(snapshot *PolicySnapshot, key pkey.Key) []string {
return nil
}