mirror of https://github.com/apache/cloudstack.git
CS-14797
Pass IP address's account + domainid for listing VMs on PF/LB/Static NAT. This prevents an admin from attaching one user's VM to another user's IP address.
This commit is contained in:
parent
46c76b7948
commit
a206683268
|
|
@ -1180,6 +1180,8 @@
|
|||
page: args.page,
|
||||
pageSize: pageSize,
|
||||
networkid: args.context.networks[0].id,
|
||||
account: args.context.ipAddresses[0].account,
|
||||
domainid: args.context.ipAddresses[0].domainid,
|
||||
listAll: true
|
||||
},
|
||||
dataType: 'json',
|
||||
|
|
@ -1763,6 +1765,8 @@
|
|||
page: args.page,
|
||||
pageSize: pageSize,
|
||||
networkid: args.context.ipAddresses[0].associatednetworkid,
|
||||
account: args.context.ipAddresses[0].account,
|
||||
domainid: args.context.ipAddresses[0].domainid,
|
||||
listAll: true
|
||||
},
|
||||
dataType: 'json',
|
||||
|
|
|
|||
Loading…
Reference in New Issue