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
Fixes #12791: Have a reset-keys button on the node screen #5547
Fixes #12791: Have a reset-keys button on the node screen #5547
Conversation
* Display the div with ID `security-info` with cfenfine and curl key/certificate hash, | ||
* the key/certificate detail, and the button to untrust the key | ||
*/ | ||
private def displaySecutiryInfo(node: NodeInventory): NodeSeq = { |
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.
Secutiry ;)
I'd prefer the button to be visible and not require to unfold the key (and we'll need to do it for 8.1 anyway) |
Why Administration rights ? Administration is to manage rudder server and here to manage a Node parameter. I know that's a sensitive operation and can understand the will to put it behind walls, but I would have set "Node write" The api to update a Node, and reset it's key status is behind Node Edit right, (maybe not a good choice, like all edit) but i would have put the same right |
PR updated with a new commit |
change-key-status-2.webm |
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
afe2fc7
to
f739b3e
Compare
https://issues.rudder.io/issues/12791
Add a button to reset the key status if:
On backend, it's just a call to the relevant
woNodeRepository
function, plus some html/ajax to make it works.I needed to extract the div with security info to make it displayable again after change.
I prefered to rebuild it all than just changing the icon because the key/key status logic is complex and I wanted to use the same logic for displaying (so that nothing change after reload).
change-key-status.webm