UI: Update database to connection name on role (#18350)

* Update database to connection name on role

* Add changelog
This commit is contained in:
Chelsea Shaw 2022-12-14 10:23:59 -06:00 committed by GitHub
parent 809a04c8b4
commit 6d80ecdbdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

3
changelog/18350.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
ui: Update language on database role to "Connection name" [[GH-18261](https://github.com/hashicorp/vault/issues/18261)]
```

View File

@ -12,13 +12,13 @@ export default Model.extend({
label: 'Role name', label: 'Role name',
}), }),
database: attr('array', { database: attr('array', {
label: 'Database name', label: 'Connection name',
editType: 'searchSelect', editType: 'searchSelect',
fallbackComponent: 'string-list', fallbackComponent: 'string-list',
models: ['database/connection'], models: ['database/connection'],
selectLimit: 1, selectLimit: 1,
onlyAllowExisting: true, onlyAllowExisting: true,
subText: 'The database for which credentials will be generated.', subText: 'The database connection for which credentials will be generated.',
}), }),
type: attr('string', { type: attr('string', {
label: 'Type of role', label: 'Type of role',