cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prachida...@apache.org
Subject [1/5] git commit: updated refs/heads/rbac to 2543fbe
Date Thu, 26 Dec 2013 23:23:45 GMT
Updated Branches:
  refs/heads/rbac 630b7fb4a -> 2543fbe84


Adding EntityType for listAccounts


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/337e33a0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/337e33a0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/337e33a0

Branch: refs/heads/rbac
Commit: 337e33a01431d3b5c3540864c8f6b9e918db4856
Parents: 630b7fb
Author: Prachi Damle <prachi@cloud.com>
Authored: Thu Dec 26 15:02:08 2013 -0800
Committer: Prachi Damle <prachi@cloud.com>
Committed: Thu Dec 26 15:17:08 2013 -0800

----------------------------------------------------------------------
 .../cloudstack/api/command/user/account/ListAccountsCmd.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/337e33a0/api/src/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java b/api/src/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java
index d9dcada..96b4590 100644
--- a/api/src/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/account/ListAccountsCmd.java
@@ -18,6 +18,7 @@ package org.apache.cloudstack.api.command.user.account;
 
 import org.apache.log4j.Logger;
 
+import org.apache.cloudstack.acl.AclEntityType;
 import org.apache.cloudstack.api.APICommand;
 import org.apache.cloudstack.api.ApiConstants;
 import org.apache.cloudstack.api.BaseListDomainResourcesCmd;
@@ -26,7 +27,7 @@ import org.apache.cloudstack.api.ResponseObject.ResponseView;
 import org.apache.cloudstack.api.response.AccountResponse;
 import org.apache.cloudstack.api.response.ListResponse;
 
-@APICommand(name = "listAccounts", description = "Lists accounts and provides detailed account
information for listed accounts", responseObject = AccountResponse.class, responseView = ResponseView.Restricted)
+@APICommand(name = "listAccounts", description = "Lists accounts and provides detailed account
information for listed accounts", responseObject = AccountResponse.class, responseView = ResponseView.Restricted,
entityType = { AclEntityType.Account })
 public class ListAccountsCmd extends BaseListDomainResourcesCmd {
     public static final Logger s_logger = Logger.getLogger(ListAccountsCmd.class.getName());
     private static final String s_name = "listaccountsresponse";


Mime
View raw message