This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 00c659b7a76 api: fix access for listSystemVmUsageHistory (#10032)
00c659b7a76 is described below

commit 00c659b7a76d0f93d7467a70b5673e1ec31dc844
Author: Abhishek Kumar <[email protected]>
AuthorDate: Mon Jan 20 18:59:27 2025 +0530

    api: fix access for listSystemVmUsageHistory (#10032)
    
    Signed-off-by: Abhishek Kumar <[email protected]>
---
 .../java/org/apache/cloudstack/api/ListSystemVMsUsageHistoryCmd.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plugins/metrics/src/main/java/org/apache/cloudstack/api/ListSystemVMsUsageHistoryCmd.java
 
b/plugins/metrics/src/main/java/org/apache/cloudstack/api/ListSystemVMsUsageHistoryCmd.java
index e2d3af24aef..5b279eb8bcb 100644
--- 
a/plugins/metrics/src/main/java/org/apache/cloudstack/api/ListSystemVMsUsageHistoryCmd.java
+++ 
b/plugins/metrics/src/main/java/org/apache/cloudstack/api/ListSystemVMsUsageHistoryCmd.java
@@ -26,7 +26,7 @@ import org.apache.cloudstack.response.VmMetricsStatsResponse;
 
 @APICommand(name = "listSystemVmsUsageHistory", description = "Lists System VM 
stats", responseObject = VmMetricsStatsResponse.class,
         requestHasSensitiveInfo = false, responseHasSensitiveInfo = false, 
since = "4.18.0",
-        authorized = {RoleType.Admin,  RoleType.ResourceAdmin, 
RoleType.DomainAdmin})
+        authorized = {RoleType.Admin})
 public class ListSystemVMsUsageHistoryCmd extends BaseResourceUsageHistoryCmd {
 
     /////////////////////////////////////////////////////

Reply via email to