[ https://issues.apache.org/jira/browse/CLOUDSTACK-6581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sangeetha Hariharan closed CLOUDSTACK-6581. ------------------------------------------- Tested with latest build form 4.4-forward ( after IAM revert) : ROOT admin is not able to deploy Vms in shared networks with scope domain/ account (dedicated to a particular domain / account). API throws the following error when ROOT admin tries to deploy a VM in an account specific shared network. { "deployvirtualmachineresponse" : {"uuidList":[],"errorcode":531,"cserrorcode":4365,"errortext":"Unable to use network with id= 89215c78-1526-4d54-9021-8f49d6c991e3, permission denied"} } API throws the following error when ROOT admin tries to deploy a VM in a domain specific shared network. { "deployvirtualmachineresponse" : {"uuidList":[],"errorcode":531,"cserrorcode":4365,"errortext":"Shared network id=768a1a01-2caa-4d49-93db-ccba42619cb0 is not available in domain id=1"} } > IAM - Shared Network -Root Admin user is allowed to deploy VM in a shared > network that is scoped for a specific domain/account. > ------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6581 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6581 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: IAM > Affects Versions: 4.4.0 > Environment: Build from 4.4 > Reporter: Sangeetha Hariharan > Assignee: Prachi Damle > Priority: Critical > Fix For: 4.4.0 > > > IAM - Shared Network -Root Admin user is allowed to deploy VM in a shared > network that is scoped for a specific domain/account. > Steps to reproduce the problem: > Create a admin account for "ROOT" domain. > Create a domain d1 with account a1. > Create a shared network for domain d1 with sub domain access set to true. > Create a shared network for domain d1 with sub domain access set to false. > Create a shared network for account a1 d1 with sub domain access set to false. > As ROOT admin , try to deploy a VM in the above created shared networks. > Vm deployment succeeds. > Expected Result: > ROOT admin should not be allowed to deploy VMs in shared networks that are > scoped for a specific domain/account. -- This message was sent by Atlassian JIRA (v6.2#6252)