mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user