mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/hotfix/4.4/6508' into 4.4
This commit is contained in:
commit
22f3834734
|
|
@ -1298,7 +1298,7 @@ public class QueryManagerImpl extends ManagerBase implements QueryService {
|
|||
throw new PermissionDeniedException("Can't list account " + accountName + " projects; unauthorized");
|
||||
}
|
||||
|
||||
if (domainId != null && domainId.equals(caller.getDomainId())) {
|
||||
if (domainId != null && !domainId.equals(caller.getDomainId())) {
|
||||
throw new PermissionDeniedException("Can't list domain id= " + domainId + " projects; unauthorized");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue