mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +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
cdaf4d1370
commit
bb5eaf2f02
@ -857,6 +857,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