Skip to content

fix: honor Policies hive only with Governance license - #27

Merged
coreybutler merged 1 commit into
mainfrom
fix/gate-machine-policy-governance
Oct 31, 2026
Merged

coreybutler merged 1 commit into
mainfrom
fix/gate-machine-policy-governance

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

Summary

  • AllowsMachinePolicy() requires a Governance entitlement (same gate as advanced proxy).
  • Settings skip Policies roots unless that gate passes; AccessToken / AccessKey / JwksCose still bootstrap from the Policies hive.
  • Fixes Certified Builds enforcing HKLM\Software\Policies\Author Software\nvm without Governance.

Test plan

  • go test ./... in common/licensing and common/settings
  • Certified without Governance: Policies preference overrides ignored
  • Certified with Governance token: Policies overrides apply

Certified was applying HKLM\Software\Policies\Author Software\nvm
without a governance entitlement. Gate preference overrides on
AllowsMachinePolicy; keep AccessToken/AccessKey/JwksCose readable
so the license can still bootstrap.

Signed-off-by: Corey Butler <770982+coreybutler@users.noreply.github.com>
@coreybutler
coreybutler merged commit 9f9729e into main Oct 31, 2026
2 checks passed
@coreybutler
coreybutler deleted the fix/gate-machine-policy-governance branch October 31, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant