Explorar o código

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

Use `action()` type which is a correct and defined type.
Serge Tupchii %!s(int64=2) %!d(string=hai) anos
pai
achega
4dfd3421e7
Modificáronse 1 ficheiros con 1 adicións e 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(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/#"]}.
 {allow, {username, {re, "^dashboard$"}}, subscribe, ["$SYS/#"]}.