diff --git a/apps/mosquitto_ctrl/dynsec_role.c b/apps/mosquitto_ctrl/dynsec_role.c index ea930854..1da4d832 100644 --- a/apps/mosquitto_ctrl/dynsec_role.c +++ b/apps/mosquitto_ctrl/dynsec_role.c @@ -174,8 +174,10 @@ int dynsec_role__remove_acl(int argc, char *argv[], cJSON *j_command) if(strcasecmp(acltype, "publishClientSend") && strcasecmp(acltype, "publishClientReceive") - && strcasecmp(acltype, "subscribe") - && strcasecmp(acltype, "unsubscribe")){ + && strcasecmp(acltype, "subscribeLiteral") + && strcasecmp(acltype, "subscribePattern") + && strcasecmp(acltype, "unsubscribeLiteral") + && strcasecmp(acltype, "unsubscribePattern")){ return MOSQ_ERR_INVAL; }