mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-21 09:11:18 -08:00
Add the system-policy node attribute, whose values map policy setting keys to values, and an extension that exposes them as a policy store in the current profile's scope. The store is replaced whenever the self node's attribute changes and removed as soon as another profile becomes current, before the policy is applied to that profile's prefs. The store is only registered if the new AllowTailnetPolicies device policy setting is enabled. Only profile settings can be configured this way, and settings configured for the device, such as via MDM, take precedence. Updates tailscale/corp#51945 Change-Id: Ic27f180f599d374f9a719877a3037a5f2df30365 Signed-off-by: Nick Khyl <[email protected]>