-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: PKI Sign Certificate #18343
UI: PKI Sign Certificate #18343
Conversation
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.
This was a lot! 🥴 Nice work!!
Some cleanup comments and questions! Nothing blocking, though.
const data = serialNumber ? { serial_number: serialNumber } : { certificate }; | ||
return this.ajax(`${this.buildURL()}/${encodePath(backend)}/revoke`, 'POST', { data }); | ||
} | ||
import PkiCertificateBaseAdapter from './base'; |
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.
👏
{ label: role, route: 'roles.role.details' }, | ||
{ label: 'sign certificate' }, | ||
]; | ||
// This is updated on successful generate in the controller |
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.
❤️ thank you for the comment!
urlForCreateRecord(modelName, snapshot) { | ||
const { name, backend } = snapshot.record; | ||
if (!name || !backend) { | ||
const { role, backend } = snapshot.record; |
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.
nice role
is much easier to infer the meaning from!
Co-authored-by: claire bontempo <[email protected]>
This reverts commit a95d665.
Adds form and page for signing CSR certificate