cloudstack/server/src/com/cloud
Alena Prokharchyk 9630cf574f Fixed numerous bugs in listNetworks call related to filtering by projectId/listAll/domainId/etc. All the rules below are followed now:
1) When account/domainId or projectId are passed in:

* list all account specific networks of the account/project
* list all domain level networks from the domainId + subdomains if the targeted network has allowSubdomainAccess = true

In other words, we use all the networks that can be used for vm deployment by account/domainId.

If listAll is not specified in the request, account/domainId are being defaulted to the account/domainId of the caller
listAll is ignored if the call is being done by the regular user.

2) listAll is passed in by the Root admin, we list:

* all Account specific networks in the system
* all domain specific networks in the system

3) listAll is passed by the Domain admin, we list:

* All Account specific networks belonging to domain/subdomains of the domain admin.
* All domain specific networks belonging to domain/subdomains of the domain admin
* All domain specific networks allowing subdomain access belonging to the parent domain.

4) domainId - can be passed either with or without listAll. We list:

* all account specific networks belonging to the domain
* all domain specific networks of the domain
* all domain specific networks of the subdomains if isRecursive = true is passed in
2012-08-01 14:47:50 -07:00
..
account Switch to Apache license 2012-04-03 04:54:14 -07:00
acl Switch to Apache license 2012-04-03 04:54:14 -07:00
agent CS-15560 : Improve HVM logging of hosts 2012-07-20 17:28:36 +05:30
alert bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled. 2012-04-20 10:56:27 +05:30
api S2S VPN: CS-15724: Show more parameter for listVpnCustomerGateways API 2012-07-30 15:48:31 -07:00
async CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-06 15:58:12 -07:00
baremetal CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-25 18:39:48 -04:00
capacity bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled. 2012-04-20 10:56:27 +05:30
certificate/dao Switch to Apache license 2012-04-03 04:54:14 -07:00
cluster CloudStack CS-15222 2012-06-04 18:24:06 -07:00
configuration bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting 2012-08-01 16:48:00 +05:30
consoleproxy CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-25 18:39:48 -04:00
dao Switch to Apache license 2012-04-03 04:54:14 -07:00
dc Support for local data disk (part 2) 2012-07-30 13:59:14 +05:30
deploy bug 14622: introduced ha tagging for host 2012-04-09 15:17:13 -07:00
domain Bug 13127: API error text refer to database ids instead of uuids 2012-06-18 11:39:36 -07:00
event Switch to Apache license 2012-04-03 04:54:14 -07:00
ha bug 14622: introduced ha tagging for host 2012-04-09 15:17:13 -07:00
host/dao CS-12510: Deleting the host_details and inserting them back causes deadlocks. 2012-08-01 14:38:24 -07:00
hypervisor Fix for CS-15631 2012-07-31 19:13:05 +05:30
keystore Switch to Apache license 2012-04-03 04:54:14 -07:00
maint Switch to Apache license 2012-04-03 04:54:14 -07:00
migration bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering 2012-04-03 10:51:35 -07:00
netapp CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-25 18:39:48 -04:00
network Fixed numerous bugs in listNetworks call related to filtering by projectId/listAll/domainId/etc. All the rules below are followed now: 2012-08-01 14:47:50 -07:00
offerings Support for adding private network 2012-06-05 10:57:29 -07:00
projects CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-25 18:39:48 -04:00
resource CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-25 18:39:48 -04:00
resourcelimit CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-25 18:39:48 -04:00
secstorage Switch to Apache license 2012-04-03 04:54:14 -07:00
server CS-15735 removed system vm ips from search builder 2012-07-31 14:46:31 +05:30
service Switch to Apache license 2012-04-03 04:54:14 -07:00
servlet Support console access through rebooting with XAPI session re-negotiation 2012-05-16 16:57:48 -07:00
storage Support for local data disk (part 2) 2012-07-30 13:59:14 +05:30
tags CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-26 18:05:43 -04:00
template CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-27 15:08:48 -07:00
test Support for adding private network 2012-06-05 10:57:29 -07:00
upgrade Bug CS-15639: Upgrade 2.2.14-> Burbank fails with db upgrade error " Exception while adding F5 load balancer due to..." 2012-07-31 18:11:28 +05:30
usage Switch to Apache license 2012-04-03 04:54:14 -07:00
user S2S VPN: CS-15748: Deleting customer vpn gateway when delete account 2012-07-30 15:16:17 -07:00
uuididentity CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs 2012-07-27 15:08:48 -07:00
vm Fix for CS-15631 2012-07-31 19:13:05 +05:30