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

Use `action()` type which is a correct and defined type.
This commit is contained in:
Serge Tupchii 2023-07-05 20:24:26 +03:00
parent bb5b2d4bda
commit 4dfd3421e7
1 changed files with 1 additions and 1 deletions

View File

@ -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/#"]}.