From 0cce5c44c2731cb611241e253d4b66f5eeffa99d Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 19 Aug 2011 15:04:39 -0700 Subject: [PATCH] bug 10790: cloudStack - Volume page - hide Storage from domain-admin as well. --- ui/scripts/cloud.core.volume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.volume.js b/ui/scripts/cloud.core.volume.js index 7be56e135c5..84057143a79 100644 --- a/ui/scripts/cloud.core.volume.js +++ b/ui/scripts/cloud.core.volume.js @@ -433,7 +433,7 @@ function volumeJsonToDetailsTab(){ $thisTab.find("#vm_name").text(getVmName(jsonObj.vmname, jsonObj.vmdisplayname) + " (" + fromdb(jsonObj.vmstate) + ")"); setDateField(jsonObj.created, $thisTab.find("#created")); - if(isAdmin() || isDomainAdmin()) { + if(isAdmin()) { $thisTab.find("#storage").text(fromdb(jsonObj.storage)); $thisTab.find("#storage_container").show(); }