Show reset config as a menu item in secure mode#13547
Merged
Merged
Conversation
michaelDCurran
requested changes
Mar 28, 2022
michaelDCurran
left a comment
Member
There was a problem hiding this comment.
I think appendConfigProfilesSection would be better named something like appendConfigManagementSection. Server, reset and save are to do with configuration, but not specifically to do with Config profiles.
Also, I think the PR description / tests should clearly mention that resetting to factory defaults is safe as we don't actually save the config on secure mode. The tests should mention resetting to factory defaults, confirming that the reset worked, and then exiting the secure desktop / restarting the machine, and confirming that the config was back to what it was before resetting to factory defaults.
See test results for failed build of commit a7325c6036 |
michaelDCurran
approved these changes
Mar 28, 2022
This comment was marked as off-topic.
This comment was marked as off-topic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
None
Summary of the issue:
Currently a user can temporarily reset to factory defaults in secure mode by pressing the default input gesture
NVDA+control+r3 times.A user using NVDA in a shared kiosk may find this command helpful to temporarily use NVDA with factory settings, so that they can log in and then use their own settings profile.
This is safe, as resetting to factory defaults doesn't save the settings profile to disk. Users can revert to the saved configuration for secure screens by:
NVDA+control+rThe feature "reset configuration to factory defaults" is hidden from the NVDA menu in secure mode, even though it is exposed through a default input gesture.
Description of how this pull request fixes the issue:
Show "reset configuration to factory defaults" as a menu item in secure mode
Testing strategy:
Manual testing:
Known issues with pull request:
None
Change log entries:
Bug fixes
Code Review Checklist: