mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4075: User unable to archive events
This commit is contained in:
parent
ea5be13761
commit
8845aae0bc
|
|
@ -859,7 +859,7 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
|
|||
boolean result =true;
|
||||
List<Long> permittedAccountIds = new ArrayList<Long>();
|
||||
|
||||
if (caller.getType() == Account.ACCOUNT_TYPE_NORMAL && caller.getType() == Account.ACCOUNT_TYPE_PROJECT) {
|
||||
if (caller.getType() == Account.ACCOUNT_TYPE_NORMAL || caller.getType() == Account.ACCOUNT_TYPE_PROJECT) {
|
||||
permittedAccountIds.add(caller.getId());
|
||||
} else {
|
||||
DomainVO domain = _domainDao.findById(caller.getDomainId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue