You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/syspolicy
Nick Khyl 740b77df59 ipn/ipnlocal,util/syspolicy: add support for ExitNode.AllowOverride policy setting
When the policy setting is enabled, it allows users to override the exit node enforced by the ExitNodeID
or ExitNodeIP policy. It's primarily intended for use when ExitNodeID is set to auto:any, but it can also
be used with specific exit nodes. It does not allow disabling exit node usage entirely.

Once the exit node policy is overridden, it will not be enforced again until the policy changes,
the user connects or disconnects Tailscale, switches profiles, or disables the override.

Updates tailscale/corp#29969

Signed-off-by: Nick Khyl <nickk@tailscale.com>
5 months ago
..
internal all: unify some redundant testing.TB interface copies 8 months ago
rsop ipn/ipnlocal,util/syspolicy: add support for ExitNode.AllowOverride policy setting 5 months ago
setting all: unify some redundant testing.TB interface copies 8 months ago
source ipn/ipnlocal,util/syspolicy/source: retain existing exit node when using auto exit node, if it's allowed by policy 5 months ago
handler.go all: unify some redundant testing.TB interface copies 8 months ago
policy_keys.go ipn/ipnlocal,util/syspolicy: add support for ExitNode.AllowOverride policy setting 5 months ago
policy_keys_test.go util/syspolicy, ipn/ipnlocal: update syspolicy package to utilize syspolicy/rsop 1 year ago
syspolicy.go ipn/{ipnauth,ipnlocal,localapi}: make EditPrefs return an error if changing exit node is restricted by policy 5 months ago
syspolicy_test.go all: unify some redundant testing.TB interface copies 8 months ago
syspolicy_windows.go all: unify some redundant testing.TB interface copies 8 months ago