From 965da2ce99316ad7a8ced30561dcc3bc0d409495 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 8 Aug 2012 16:07:06 -0700 Subject: [PATCH] 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. --- ui/scripts/sharedFunctions.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js index a81c4270b21..36545cc2722 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 }