Skip to content

Commit e4e8931

Browse files
committed
CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
domain/subdomain.
1 parent b259bcc commit e4e8931

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.apache.log4j.Logger;
2828

2929
import org.apache.cloudstack.acl.RoleType;
30-
import org.apache.cloudstack.acl.SecurityChecker.AccessType;
3130
import org.apache.cloudstack.affinity.AffinityGroupResponse;
3231
import org.apache.cloudstack.api.ACL;
3332
import org.apache.cloudstack.api.APICommand;
@@ -105,7 +104,7 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
105104
private Long domainId;
106105

107106
//Network information
108-
@ACL(accessType = AccessType.UseEntry)
107+
//@ACL(accessType = AccessType.UseEntry)
109108
@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")
110109
private List<Long> networkIds;
111110

0 commit comments

Comments
 (0)