Files
tailscale/cmd
Nick Khyl 362fe29186 feature/nodeattrpolicy,tailcfg,util/syspolicy: add a nodeAttr-based policy store
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]>
2026-11-20 15:01:03 -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