From 5d5d8b2d67ac4cf63391f9a207a55c978c85bb44 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 7948b763764..285b6341b4c 100644 --- a/ui/scripts/sharedFunctions.js +++ b/ui/scripts/sharedFunctions.js @@ -261,10 +261,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 }