abh1sar commented on code in PR #9569:
URL: https://github.com/apache/cloudstack/pull/9569#discussion_r1728647025


##########
api/src/main/java/org/apache/cloudstack/api/response/CapabilitiesResponse.java:
##########
@@ -92,6 +92,10 @@ public class CapabilitiesResponse extends BaseResponse {
     @Param(description = "true if users can see all accounts within the same 
domain, false otherwise")
     private boolean allowUserViewAllDomainAccounts;
 
+    @SerializedName("allowuserforcestopvm")

Review Comment:
   Done



##########
api/src/main/java/org/apache/cloudstack/api/command/user/config/ListCapabilitiesCmd.java:
##########
@@ -55,6 +55,7 @@ public void execute() {
         
response.setAllowUserExpungeRecoverVM((Boolean)capabilities.get("allowUserExpungeRecoverVM"));
         
response.setAllowUserExpungeRecoverVolume((Boolean)capabilities.get("allowUserExpungeRecoverVolume"));
         
response.setAllowUserViewAllDomainAccounts((Boolean)capabilities.get("allowUserViewAllDomainAccounts"));
+        
response.setAllowUserForceStopVM((Boolean)capabilities.get("allowUserForceStopVM"));

Review Comment:
   Done



##########
server/src/main/java/com/cloud/server/ManagementServerImpl.java:
##########
@@ -4486,6 +4487,7 @@ public Map<String, Object> listCapabilities(final 
ListCapabilitiesCmd cmd) {
         capabilities.put("allowUserExpungeRecoverVM", 
allowUserExpungeRecoverVM);
         capabilities.put("allowUserExpungeRecoverVolume", 
allowUserExpungeRecoverVolume);
         capabilities.put("allowUserViewAllDomainAccounts", 
allowUserViewAllDomainAccounts);
+        capabilities.put("allowUserForceStopVM", allowUserForceStopVM);

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to