Files
Nick Khyl 88a4fe129f feature/tailnetsyspolicy,tailcfg,util/syspolicy: add a nodeAttr-based policy store
Add the TailnetSysPolicy (https://tailscale.com/cap/tailnet-syspolicy)
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 AllowTailnetSysPolicy device policy
setting is enabled. Only profile and user 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]>
2026-11-25 15:07:49 -08:00
..
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00