You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/08/09 01:09:12 UTC
git commit: CS-15825: cloudstack 3.0 UI - VPC - Tier - detailView -
allow all actions for regular-user and domain-admin since server-side doesn't
have restriction.
Updated Branches:
refs/heads/vpc c33c19dd3 -> 965da2ce9
CS-15825: cloudstack 3.0 UI - VPC - Tier - detailView - allow all actions for regular-user and domain-admin since server-side doesn't have restriction.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/965da2ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/965da2ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/965da2ce
Branch: refs/heads/vpc
Commit: 965da2ce99316ad7a8ced30561dcc3bc0d409495
Parents: c33c19d
Author: Jessica Wang <je...@citrix.com>
Authored: Wed Aug 8 16:07:06 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Wed Aug 8 16:08:36 2012 -0700
----------------------------------------------------------------------
ui/scripts/sharedFunctions.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/965da2ce/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index a81c427..36545cc 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -265,10 +265,6 @@ cloudStack.actionFilter = {
var jsonObj = args.context.item;
var allowedActions = [];
- if (!isAdmin()) {
- return [];
- }
-
if(jsonObj.type == 'Isolated') {
allowedActions.push('edit'); //only Isolated network can be upgraded
}