cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swill <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9174: A deleted account result...
Date Wed, 06 Apr 2016 20:34:54 GMT
Github user swill commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1254#discussion_r58776967
  
    --- Diff: plugins/database/quota/src/org/apache/cloudstack/api/command/QuotaSummaryCmd.java
---
    @@ -59,7 +59,7 @@ public QuotaSummaryCmd() {
         public void execute() {
             Account caller = CallContext.current().getCallingAccount();
             List<QuotaSummaryResponse> responses;
    -        if (caller.getAccountId() <= 2) { //non root admin or system
    +        if (caller.getType() == Account.ACCOUNT_TYPE_ADMIN) { //admin account
    --- End diff --
    
    This went from valid entries of 1 or 2 to only 1.  This is an intentional change?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message