mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1063:SG Enabled Advanced Zone -Add Guest Networks- When user tries to add a guest Network with scope as Account , he should NOT be presented with Offering for shared security group enabled
This commit is contained in:
parent
25c0d84c16
commit
9deea9bb55
|
|
@ -1322,6 +1322,12 @@
|
|||
networkOfferingObjs = json.listnetworkofferingsresponse.networkoffering;
|
||||
if (networkOfferingObjs != null && networkOfferingObjs.length > 0) {
|
||||
for (var i = 0; i < networkOfferingObjs.length; i++) {
|
||||
|
||||
if(args.scope=="account-specific" && args.context.zones[0].securitygroupsenabled == true) { //BUG - CLOUDSTACK-1063
|
||||
var serviceObjArray = networkOfferingObjs[i].name;
|
||||
if(serviceObjArray == "DefaultSharedNetworkOfferingWithSGService"){
|
||||
continue;
|
||||
}
|
||||
|
||||
//comment out the following 12 lines because of CS-16718
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue