-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(windows-agent): Hide unnecessarily exposed fields in the registry #369
Conversation
47a3fca
to
1209f1e
Compare
1209f1e
to
e06d93b
Compare
1fb9d48
to
91bc677
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing big catches my eyes, but I saw some interesting corner cases and a few nitpicks.
This allows the enum to be used for Landscape as well
Now we split the settings between file and registry
It becomes much simpler now that the checksum is just another setting
Both for the subscription and landscape
The config is only writen if no errors occur, otherwise, not changes are loaded.
a8f6b9f
to
3418252
Compare
Rebased main accidentally. Real changes start at Rename GUI-sourced config to User-sourced |
14e66ed
to
0cef1de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏽
This regression was introduced in PR #369
…lization exception (#374) With the recent changes in #369, we no longer need to write to the registry. There is one behavior change here: setting the registry as read-only no longer has any effect on the program. Until now, it was an implicit message from the administrator to UP4W to block attempts to modify the config. ---- UDENG-1696
The registry exposes a lot of fields that should not be exposed to the user. It should really only show:
The rest should be moved to a file. A side benefit is that the registry becomes (almost) read-only to us, meaning we can rethink our disabled virtualization.
UDENG-1685