mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-04 15:35:38 +00:00
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:
parent
4ae7eff7c2
commit
c1795c6af9
@ -1474,6 +1474,8 @@ type Oauth2Token struct {
|
|||||||
|
|
||||||
CapabilityFileSharing = "https://tailscale.com/cap/file-sharing"
|
CapabilityFileSharing = "https://tailscale.com/cap/file-sharing"
|
||||||
CapabilityAdmin = "https://tailscale.com/cap/is-admin"
|
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.
|
// Inter-node capabilities.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user