Просмотр исходного кода

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

Use `action()` type which is a correct and defined type.
Serge Tupchii 2 лет назад
Родитель
Сommit
4dfd3421e7
1 измененных файлов с 1 добавлено и 1 удалено
  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/#"]}.