cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jessica Wang <Jessica.W...@citrix.com>
Subject RE: git commit: updated refs/heads/master to a59067e
Date Tue, 11 Jun 2013 17:34:04 GMT
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:ustcweizhou@gmail.com] 
Sent: Tuesday, June 11, 2013 6:59 AM
To: 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 <jessicawang@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 <jessicawang@apache.org>
> Authored: Mon Jun 10 13:43:07 2013 -0700
> Committer: Jessica Wang <jessicawang@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', validation: { required:
> true }, docID: 'helpGuestNetworkName' },
>                    displayText: { label: 'label.display.text', validation:
> { required: true }, docID: 'helpGuestNetworkDisplayText'},
>
>

Mime
View raw message