mirror of https://github.com/apache/cloudstack.git
iam: allow accounts to be updated
Fixes #179 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
79aaa01475
commit
30fa528593
|
|
@ -126,9 +126,17 @@ export default {
|
|||
{
|
||||
api: 'updateAccount',
|
||||
icon: 'edit',
|
||||
label: 'label.update.account',
|
||||
label: 'Update Account',
|
||||
dataView: true,
|
||||
args: ['newname', 'domainid', 'roleid', 'networkdomain', 'details']
|
||||
args: ['newname', 'account', 'domainid', 'networkdomain'],
|
||||
mapping: {
|
||||
account: {
|
||||
value: (record) => { return record.name }
|
||||
},
|
||||
domainid: {
|
||||
value: (record) => { return record.domainid }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
api: 'updateResourceCount',
|
||||
|
|
|
|||
Loading…
Reference in New Issue