mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
UI: remove references to comma separation for string array edit types (#20163)
* remove intercepting helpText * add subtext directly to StringList input component * update tests and add coverage for new openapi-attrs util * update test * add warning validation to input * lol is this right i dont know go * literally no idea what im doing * add Description to display attrs struct * update struct comment * add descriptions to remaining go fields * add missing comma * remaining commas..." * add description to display attrs * update tests * update tests * add changelog; * Update ui/app/utils/openapi-to-attrs.js * update tests following backend changes * clearly name variable * format files * no longer need to test for modified tooltip since coming from backend now
This commit is contained in:
@@ -59,7 +59,7 @@ export default class PkiCertificateBaseModel extends Model {
|
||||
@attr('string', {
|
||||
label: 'Subject Alternative Names (SANs)',
|
||||
subText:
|
||||
'The requested Subject Alternative Names; if email protection is enabled for the role, this may contain email addresses. Add one per row.',
|
||||
'The requested Subject Alternative Names; if email protection is enabled for the role, this may contain email addresses.',
|
||||
editType: 'stringArray',
|
||||
})
|
||||
altNames;
|
||||
@@ -67,20 +67,18 @@ export default class PkiCertificateBaseModel extends Model {
|
||||
// SANs below are editType: stringArray from openApi
|
||||
@attr('string', {
|
||||
label: 'IP Subject Alternative Names (IP SANs)',
|
||||
subText: 'Only valid if the role allows IP SANs (which is the default). Add one per row.',
|
||||
subText: 'Only valid if the role allows IP SANs (which is the default).',
|
||||
})
|
||||
ipSans;
|
||||
|
||||
@attr('string', {
|
||||
label: 'URI Subject Alternative Names (URI SANs)',
|
||||
subText:
|
||||
'If any requested URIs do not match role policy, the entire request will be denied. Add one per row.',
|
||||
subText: 'If any requested URIs do not match role policy, the entire request will be denied.',
|
||||
})
|
||||
uriSans;
|
||||
|
||||
@attr('string', {
|
||||
subText:
|
||||
'Requested other SANs with the format <oid>;UTF8:<utf8 string value> for each entry. Add one per row.',
|
||||
subText: 'Requested other SANs with the format <oid>;UTF8:<utf8 string value> for each entry.',
|
||||
})
|
||||
otherSans;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user