[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699739#comment-13699739
 ] 

Mice Xia commented on CLOUDSTACK-2989:
--------------------------------------

shweta,

can you give the details about what's going wrong? Here is my testing with 
latest master branch

1) create a domain 'test', domain admin 'test1', domain user 'test2'
2) create an isolated network offering 'testoffering' with specifyVlan=true
3) login UI with test1 and test2, UI-->Network-->[add isolated guest network 
with sourceNat], 'testoffering' IS NOT in the network offering drop-down list
4) login UI with admin, UI-->Network-->[add isolated guest network with 
sourceNat], 'testoffering' IS in the networking offering list
5) create isolated network via API 'createNetwork' with account test1 and 
test2, error was returned.
                
> normal user are allowed to create isolated network offerings with vlan 
> assignments
> ----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2989
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2989
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller, UI
>    Affects Versions: 4.2.0
>         Environment: build:
> CloudStack-non-OSS-MASTER-472-rhel6.3
>            Reporter: shweta agarwal
>            Assignee: Mice Xia
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Repro steps:
> 1. Create a domain and an account within the domain
> 2. Create a network offerings with specify vlan=true  for isolated network 
> 3. Create network with network offering created in step 2 as a domain account 
> created in step 1
> Bug:
> Network creation is successful
> Expected result:
> normal user should not be allowed to create network with specify Vlan=true 
> isolated network
> Even Functional spec  says:
> nly ROOT admin is aware of the Vlans in the system. So only he can create the 
> Isolated network with the vlan defined. UI should handle it and don't display 
> network offerings with "specifyVlan=true" when create a new Isolated network.
> Even  vial Normal user UI 
> Create network dialog shows Network offerings with specify vlan=ture and when 
> I try to create a network offerings it passes also
> So that means both at UI level and api level this condition is not checked

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to