CLOUDSTACK-2337:Resize button available for root/domain admin and normal users
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/63fbdbb9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/63fbdbb9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/63fbdbb9 Branch: refs/heads/vmware-datamodel Commit: 63fbdbb96f02b1da81245d12e9974c6c2f7d93e2 Parents: c8d8432 Author: Pranav Saxena <pranav.sax...@citrix.com> Authored: Mon May 6 13:45:32 2013 +0530 Committer: Pranav Saxena <pranav.sax...@citrix.com> Committed: Mon May 6 13:45:32 2013 +0530 ---------------------------------------------------------------------- ui/scripts/storage.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/63fbdbb9/ui/scripts/storage.js ---------------------------------------------------------------------- diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index d73974a..e816334 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1612,7 +1612,7 @@ if(jsonObj.hypervisor != "Ovm" && jsonObj.state == "Ready") { allowedActions.push("takeSnapshot"); allowedActions.push("recurringSnapshot"); - if((jsonObj.hypervisor == "XenServer" || jsonObj.hypervisor == "KVM" || jsonObj.hypervisor == "VMware") && jsonObj.type == "DATADISK") { + if(jsonObj.type == "DATADISK") { allowedActions.push("resize"); } }