Wei,

> What do you think about show/hide the button according to account/user on 
> Network tab?
Network tab is for normal user.
We put everything that only root-admin is allowed to access in Infrastructure 
tab. This is by design. We probably won't change it.

> I can not find a page to add shared networks in Infracstruture tab.
Please go to Infrastructure tab > Zones > Physical Network tab > Guest > 
Network tab => "Add guest network" button

Jessica


From: Wei ZHOU [mailto:ustcweiz...@gmail.com]
Sent: Tuesday, June 11, 2013 10:57 AM
To: Jessica Wang
Subject: Re: git commit: updated refs/heads/master to a59067e

Jessica,

What do you think about show/hide the button according to account/user on 
Network tab?
I am now testing advanced zone with security groups. I can not find a page to 
add shared networks in Infracstruture tab.

-Wei

2013/6/11 Jessica Wang <jessica.w...@citrix.com<mailto:jessica.w...@citrix.com>>
Wei,

Because Network tab is for normal user and normal user is not allowed to add 
shared network.

Only root-admin is allowed to add shared network and root-admin should do it in 
Infrastructure tab.
(Infrastructure tab is only available to root-admin)

Jessica

-----Original Message-----
From: Wei ZHOU [mailto:ustcweiz...@gmail.com<mailto:ustcweiz...@gmail.com>]
Sent: Tuesday, June 11, 2013 6:59 AM
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Subject: Re: git commit: updated refs/heads/master to a59067e

Hi Jessica,

I was wondering why shared network can not be added here?

-Wei


2013/6/10 <jessicaw...@apache.org<mailto:jessicaw...@apache.org>>

> Updated Branches:
>   refs/heads/master 40982ccef -> a59067e94
>
>
> CLOUDSTACK UI - network menu - create guest network dialog - change label.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
> Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a59067e9
> Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a59067e9
> Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a59067e9
>
> Branch: refs/heads/master
> Commit: a59067e94f7095a2448d342d5eed0ffee5f066c0
> Parents: 40982cc
> Author: Jessica Wang <jessicaw...@apache.org<mailto:jessicaw...@apache.org>>
> Authored: Mon Jun 10 13:43:07 2013 -0700
> Committer: Jessica Wang 
> <jessicaw...@apache.org<mailto:jessicaw...@apache.org>>
> Committed: Mon Jun 10 13:43:07 2013 -0700
>
> ----------------------------------------------------------------------
>  ui/scripts/network.js | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a59067e9/ui/scripts/network.js
> ----------------------------------------------------------------------
> diff --git a/ui/scripts/network.js b/ui/scripts/network.js
> index 9e60cbc..61468fc 100755
> --- a/ui/scripts/network.js
> +++ b/ui/scripts/network.js
> @@ -320,8 +320,8 @@
>          title: 'label.guest.networks',
>          listView: {
>            actions: {
> -            add: { //add Isolated guest network (can't add Shared guest
> network here)
> -              label: 'Add Isolated Guest Network',
> +            add: {
> +              label: 'Add Isolated Guest Network with SourceNat',
>
>                preFilter: function(args) { //Isolated networks is only
> supported in Advanced (SG-disabled) zone
>                  if(args.context.zoneType != 'Basic')
> @@ -331,8 +331,7 @@
>                },
>
>                createForm: {
> -                title: 'Add Isolated Guest Network',
> -                desc: 'Add Isolated Guest Network with SourceNat',
> +                title: 'Add Isolated Guest Network with SourceNat',
>                  fields: {
>                    name: { label: 'label.name<http://label.name>', 
> validation: { required:
> true }, docID: 'helpGuestNetworkName' },
>                    displayText: { label: 'label.display.text', validation:
> { required: true }, docID: 'helpGuestNetworkDisplayText'},
>
>

Reply via email to