Explorar el Código

comment usage of acls

abhishek9686 hace 1 año
padre
commit
517a27c807
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mq/emqx_on_prem.go

+ 1 - 1
mq/emqx_on_prem.go

@@ -279,7 +279,7 @@ func (e *EmqxOnPrem) GetUserACL(username string) (*aclObject, error) {
 
 // CreateDefaultDenyRule - creates a rule to deny access to all topics for all users by default
 // to allow user access to topics use the `mq.CreateUserAccessRule` function
-func (e *EmqxOnPrem) CreateDefaultAllowRule() error {
+func (e *EmqxOnPrem) CreateDefaultDenyRule() error {
 	token, err := getEmqxAuthToken()
 	if err != nil {
 		return err