tailcfg: add node capability for services in desktop clients (#19605)

Add a node capability to help determine if the desktop clients should
show services list/menu/section

Updates: https://github.com/tailscale/corp/issues/40900

Change-Id: Ie34b3362f921d710173b2a0dd190354352bb26f0

Signed-off-by: Rollie Ma <rollie@tailscale.com>
This commit is contained in:
Rollie Ma 2026-05-01 12:07:33 -07:00 committed by GitHub
parent ee10f9881c
commit 78126c5d9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2475,6 +2475,10 @@ const (
// CapabilityMacUIV2 makes the macOS GUI enable its v2 mode.
CapabilityMacUIV2 NodeCapability = "https://tailscale.com/cap/mac-ui-v2"
// CapabilityServicesInDesktopClients enables services list/menu/section in desktop clients.
// If this capability is not present, desktop clients should not show services.
CapabilityServicesInDesktopClients NodeCapability = "https://tailscale.com/cap/services-in-desktop-clients"
// CapabilityBindToInterfaceByRoute changes how Darwin nodes create
// sockets (in the net/netns package). See that package for more
// details on the behaviour of this capability.