Skip to content

Commit e4ee69e

Browse files
committed
Add missing @acl to some parameters
1 parent 592f1cb commit e4ee69e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ public class QuotaSummaryCmd extends BaseListCmd {
5252
@Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, entityType = AccountResponse.class, description = "ID of the account for which balance will be listed. Can not be specified with projectId.", since = "4.23.0")
5353
private Long accountId;
5454

55+
@ACL
5556
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, required = false, description = "Optional, Account Id for which statement needs to be generated")
5657
private String accountName;
5758

59+
@ACL
5860
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, required = false, entityType = DomainResponse.class, description = "Optional, If domain Id is given and the caller is domain admin then the statement is generated for domain.")
5961
private Long domainId;
6062

@@ -75,7 +77,6 @@ public class QuotaSummaryCmd extends BaseListCmd {
7577
public void execute() {
7678
Pair<List<QuotaSummaryResponse>, Integer> responses = quotaResponseBuilder.createQuotaSummaryResponse(this);
7779
ListResponse<QuotaSummaryResponse> response = new ListResponse<>();
78-
7980
response.setResponses(responses.first(), responses.second());
8081
response.setResponseName(getCommandName());
8182
setResponseObject(response);

0 commit comments

Comments
 (0)