()
| 991 | } |
| 992 | |
| 993 | func availableFeatures() map[string]bool { |
| 994 | features := map[string]bool{ |
| 995 | "advertise-exit-node": true, // available on all platforms |
| 996 | "advertise-routes": true, // available on all platforms |
| 997 | "use-exit-node": featureknob.CanUseExitNode() == nil, |
| 998 | "ssh": featureknob.CanRunTailscaleSSH() == nil, |
| 999 | "auto-update": version.IsUnstableBuild() && feature.CanAutoUpdate(), |
| 1000 | } |
| 1001 | return features |
| 1002 | } |
| 1003 | |
| 1004 | // aclsAllowAccess returns whether tailnet ACLs (as expressed in the provided filter rules) |
| 1005 | // permit any devices to access the local web client. |
no test coverage detected
searching dependent graphs…