tailcfg: define some Node.Capabilities about SSH, its config

Updates #3802

Change-Id: Icb4ccbc6bd1c6304013bfc553d04007844a5c0bf
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 99ed54926b)
This commit is contained in:
Brad Fitzpatrick 2022-06-17 12:11:55 -07:00
parent 4ae7eff7c2
commit c1795c6af9

View File

@ -1474,6 +1474,8 @@ type Oauth2Token struct {
CapabilityFileSharing = "https://tailscale.com/cap/file-sharing"
CapabilityAdmin = "https://tailscale.com/cap/is-admin"
CapabilitySSH = "https://tailscale.com/cap/ssh" // feature enabled/available
CapabilitySSHRuleIn = "https://tailscale.com/cap/ssh-rule-in" // some SSH rule reach this node
// Inter-node capabilities.