Skip to content

Commit cfea031

Browse files
Alena ProkharchykAlena Prokharchyk
authored andcommitted
Fixed deploy vm for Project in private zone
1 parent 7a6778c commit cfea031

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/acl/DomainChecker.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public boolean checkAccess(Account account, DataCenter zone) throws PermissionDe
248248
}
249249
//if account is normal user
250250
//check if account's domain is a child of zone's domain
251-
else if(account.getType() == Account.ACCOUNT_TYPE_NORMAL){
251+
else if(account.getType() == Account.ACCOUNT_TYPE_NORMAL || account.getType() == Account.ACCOUNT_TYPE_PROJECT){
252252
if(account.getDomainId() == zone.getDomainId()){
253253
return true; //zone and account at exact node
254254
}else{

0 commit comments

Comments
 (0)