You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/05/23 10:07:29 UTC

git commit: updated refs/heads/4.4 to f1a586e

Repository: cloudstack
Updated Branches:
  refs/heads/4.4 b0b71e59e -> f1a586e9b


CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
domain/subdomain.


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

Branch: refs/heads/4.4
Commit: f1a586e9be264bb63e2f55fb71bd934760e91c9a
Parents: b0b71e5
Author: Min Chen <mi...@citrix.com>
Authored: Wed May 21 21:57:29 2014 -0700
Committer: Daan Hoogland <da...@onecht.net>
Committed: Fri May 23 10:07:18 2014 +0200

----------------------------------------------------------------------
 .../org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f1a586e9/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
index 0adc57b..43983bd 100755
--- a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
@@ -27,7 +27,6 @@ import java.util.Map;
 import org.apache.log4j.Logger;
 
 import org.apache.cloudstack.acl.RoleType;
-import org.apache.cloudstack.acl.SecurityChecker.AccessType;
 import org.apache.cloudstack.affinity.AffinityGroupResponse;
 import org.apache.cloudstack.api.ACL;
 import org.apache.cloudstack.api.APICommand;
@@ -105,7 +104,7 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
     private Long domainId;
 
     //Network information
-    @ACL(accessType = AccessType.UseEntry)
+    //@ACL(accessType = AccessType.UseEntry)
     @Parameter(name = ApiConstants.NETWORK_IDS, type = CommandType.LIST, collectionType = CommandType.UUID, entityType = NetworkResponse.class, description = "list of network ids used by virtual machine. Can't be specified with ipToNetworkList parameter")
     private List<Long> networkIds;