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:
@@ -2475,6 +2475,10 @@ const (
|
|||||||
// CapabilityMacUIV2 makes the macOS GUI enable its v2 mode.
|
// CapabilityMacUIV2 makes the macOS GUI enable its v2 mode.
|
||||||
CapabilityMacUIV2 NodeCapability = "https://tailscale.com/cap/mac-ui-v2"
|
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
|
// CapabilityBindToInterfaceByRoute changes how Darwin nodes create
|
||||||
// sockets (in the net/netns package). See that package for more
|
// sockets (in the net/netns package). See that package for more
|
||||||
// details on the behaviour of this capability.
|
// details on the behaviour of this capability.
|
||||||
|
|||||||
Reference in New Issue
Block a user