ui: add support to change Account role for admins (#9012)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2024-05-01 17:39:55 +05:30 committed by GitHub
parent e520525fe7
commit b91c3879c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -1767,6 +1767,7 @@
"label.restore.volume.attach": "Restore volume and attach",
"label.review": "Review",
"label.role": "Role",
"label.roleid": "Role",
"label.rolename": "Role",
"label.roles": "Roles",
"label.roletype": "Role Type",

View File

@ -91,7 +91,7 @@ export default {
icon: 'edit-outlined',
label: 'label.action.edit.account',
dataView: true,
args: ['newname', 'account', 'domainid', 'networkdomain'],
args: ['newname', 'account', 'domainid', 'networkdomain', 'roleid'],
mapping: {
account: {
value: (record) => { return record.name }