mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
status 9894: resolved fixed
This commit is contained in:
parent
630e8d9db4
commit
3468d1b7ea
@ -858,6 +858,7 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma
|
||||
}
|
||||
} else if ((account != null) && ((account.getType() == Account.ACCOUNT_TYPE_DOMAIN_ADMIN) || (account.getType() == Account.ACCOUNT_TYPE_RESOURCE_DOMAIN_ADMIN))) {
|
||||
domainId = account.getDomainId();
|
||||
isRecursive = true;
|
||||
}
|
||||
|
||||
if (domainId != null && accountName != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user