Explorar el Código

chore(emqx_authz): fix `rule()` type example

Use `action()` type which is a correct and defined type.
Serge Tupchii hace 2 años
padre
commit
4dfd3421e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/emqx_authz/etc/acl.conf

+ 1 - 1
apps/emqx_authz/etc/acl.conf

@@ -20,7 +20,7 @@
 %%
 %% -type(permission() :: allow | deny).
 %%
-%% -type(rule() :: {permission(), who(), access(), topics()} | {permission(), all}).
+%% -type(rule() :: {permission(), who(), action(), topics()} | {permission(), all}).
 %%--------------------------------------------------------------------
 
 {allow, {username, {re, "^dashboard$"}}, subscribe, ["$SYS/#"]}.