mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2337:Resize button available for root/domain admin and normal users
This commit is contained in:
parent
c8d843241e
commit
63fbdbb96f
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue