Merge remote-tracking branch 'origin/hotfix/4.4/6508' into 4.4

This commit is contained in:
Daan Hoogland 2014-08-21 15:58:31 +02:00
commit 22f3834734
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}