Skip to content
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

UI: sets operationNone for a kmip role if no checkboxes are selected #19139

Merged
merged 4 commits into from Feb 10, 2023

Conversation

hellobontempo
Copy link
Contributor

This PR fixes a kmip role still allowing all operations even if all of the checkboxes are deselected. This is because operation_none was only being set/unset when the blue toggle was clicked (see in gif only after it is toggled, then the operations are removed). But if a user unchecks Allow this role to perform all operations the change does not persist and all operations are still allowed.

This also fixes a typo that made the server operation: Discover versions input render without a checkbox

kmip-role

@hellobontempo hellobontempo added ui bug Used to indicate a potential bug labels Feb 10, 2023
@hellobontempo hellobontempo added this to the 1.13.0-rc1 milestone Feb 10, 2023
Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, checked locally too! Any way we could squeeze in a test for this use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants