mirror of https://github.com/apache/cloudstack.git
bug 3384: listVolumes: regular user should be able to make a search by "type".
status 3384: resolved fixed
This commit is contained in:
parent
8215510c19
commit
af502b1c4c
|
|
@ -3626,13 +3626,12 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
Long vmInstanceId = cmd.getVirtualMachineId();
|
||||
Object name = cmd.getVolumeName();
|
||||
Object keyword = cmd.getKeyword();
|
||||
Object type = cmd.getType();
|
||||
|
||||
Object type = null;
|
||||
Object zone = null;
|
||||
Object pod = null;
|
||||
//Object host = null; TODO
|
||||
if (isAdmin) {
|
||||
type = cmd.getType();
|
||||
if (isAdmin) {
|
||||
zone = cmd.getZoneId();
|
||||
pod = cmd.getPodId();
|
||||
// host = cmd.getHostId(); TODO
|
||||
|
|
|
|||
Loading…
Reference in New Issue