weizhouapache commented on code in PR #8556:
URL: https://github.com/apache/cloudstack/pull/8556#discussion_r1469502874


##########
api/src/main/java/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java:
##########
@@ -55,6 +55,9 @@ public class DeleteTemplateCmd extends BaseAsyncCmd {
     @Parameter(name = ApiConstants.FORCED, type = CommandType.BOOLEAN, 
required = false, description = "Force delete a template.", since = "4.9+")
     private Boolean forced;
 
+    @Parameter(name = ApiConstants.IS_SYSTEM, type = CommandType.BOOLEAN, 
required = false, description = "Necessary if the template's type is system.", 
since = "4.20.0")

Review Comment:
   @GaOrtiga 
   can you add `authorized = {RoleType.Admin}` ?



-- 
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