mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
UI: Add missing allowed_user_ids to role form in PKI (#22191)
This commit is contained in:
3
changelog/22191.txt
Normal file
3
changelog/22191.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:improvement
|
||||||
|
ui: adds allowed_user_ids field to create role form and user_ids to generate certificates form in pki
|
||||||
|
```
|
||||||
@@ -9,7 +9,7 @@ import PkiCertificateBaseModel from './base';
|
|||||||
|
|
||||||
const generateFromRole = [
|
const generateFromRole = [
|
||||||
{
|
{
|
||||||
default: ['commonName', 'customTtl', 'format', 'privateKeyFormat'],
|
default: ['commonName', 'userIds', 'customTtl', 'format', 'privateKeyFormat'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'Subject Alternative Name (SAN) Options': [
|
'Subject Alternative Name (SAN) Options': [
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ const fieldGroups = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'Additional subject fields': [
|
'Additional subject fields': [
|
||||||
|
'allowedUserIds',
|
||||||
'allowedSerialNumbers',
|
'allowedSerialNumbers',
|
||||||
'requireCn',
|
'requireCn',
|
||||||
'useCsrCommonName',
|
'useCsrCommonName',
|
||||||
@@ -293,6 +294,7 @@ export default class PkiRoleModel extends Model {
|
|||||||
})
|
})
|
||||||
extKeyUsageOids;
|
extKeyUsageOids;
|
||||||
|
|
||||||
|
@attr({ editType: 'stringArray' }) allowedUserIds;
|
||||||
@attr({ editType: 'stringArray' }) organization;
|
@attr({ editType: 'stringArray' }) organization;
|
||||||
@attr({ editType: 'stringArray' }) country;
|
@attr({ editType: 'stringArray' }) country;
|
||||||
@attr({ editType: 'stringArray' }) locality;
|
@attr({ editType: 'stringArray' }) locality;
|
||||||
|
|||||||
Reference in New Issue
Block a user