mirror of https://github.com/apache/cloudstack.git
bug 12437: Root admin should be able to see all the templates.
Reviewed by : Kishan.
This commit is contained in:
parent
4c142565c8
commit
8d677cb7ba
|
|
@ -1234,7 +1234,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
|
||||
if (accountName != null && domainId != null) {
|
||||
permittedAccounts.add(_accountMgr.finalizeOwner(caller, accountName, domainId, null));
|
||||
} else {
|
||||
} else if (caller.getType() != Account.ACCOUNT_TYPE_ADMIN){
|
||||
permittedAccounts.add(caller);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue