From 4dfd3421e77bd4282435c4f5662bd02af720fafa Mon Sep 17 00:00:00 2001 From: Serge Tupchii Date: Wed, 5 Jul 2023 20:24:26 +0300 Subject: [PATCH] chore(emqx_authz): fix `rule()` type example Use `action()` type which is a correct and defined type. --- apps/emqx_authz/etc/acl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_authz/etc/acl.conf b/apps/emqx_authz/etc/acl.conf index 9964dc7ba..dbeec6852 100644 --- a/apps/emqx_authz/etc/acl.conf +++ b/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/#"]}.