You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/11/13 10:15:16 UTC

[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #4469: Fix: Listing projects comprising of only the user's on listAll=true

Pearl1594 commented on a change in pull request #4469:
URL: https://github.com/apache/cloudstack/pull/4469#discussion_r522854520



##########
File path: api/src/main/java/org/apache/cloudstack/api/command/user/project/CreateProjectCmd.java
##########
@@ -116,7 +116,7 @@ public long getEntityOwnerId() {
             throw new InvalidParameterValueException("Account name and domain id must be specified together");
         }
 
-        if (userId != null && (accountId == null && domainId == null)) {
+        if (userId != null && (accountId == null || domainId == null)) {

Review comment:
       @DaanHoogland this was the requirement in the FR doc




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org