Repository: cloudstack Updated Branches: refs/heads/4.4-forward b4457d92f -> 0d243ec7f
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/0d243ec7 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0d243ec7 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0d243ec7 Branch: refs/heads/4.4-forward Commit: 0d243ec7f2e1a0e3508d385f7b793b103c56ca07 Parents: b4457d9 Author: Min Chen <min.c...@citrix.com> Authored: Wed May 21 21:57:29 2014 -0700 Committer: Min Chen <min.c...@citrix.com> Committed: Wed May 21 21:58:17 2014 -0700 ---------------------------------------------------------------------- .../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/0d243ec7/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;