diff --git a/apps/emqx_authz/src/emqx_authz.app.src b/apps/emqx_authz/src/emqx_authz.app.src index 6a4b721e9..3fea50147 100644 --- a/apps/emqx_authz/src/emqx_authz.app.src +++ b/apps/emqx_authz/src/emqx_authz.app.src @@ -1,7 +1,7 @@ %% -*- mode: erlang -*- {application, emqx_authz, [ {description, "An OTP application"}, - {vsn, "0.1.12"}, + {vsn, "0.1.13"}, {registered, []}, {mod, {emqx_authz_app, []}}, {applications, [ diff --git a/changes/v5.0.16/feat-9871.en.md b/changes/v5.0.16/feat-9871.en.md new file mode 100644 index 000000000..b907aa3f1 --- /dev/null +++ b/changes/v5.0.16/feat-9871.en.md @@ -0,0 +1,3 @@ +Allow the placeholder to be anywhere in the topic for `authz` rules. +e.g: +`{allow, {username, "who"}, publish, ["t/foo${username}boo/${clientid}xxx"]}.` diff --git a/changes/v5.0.16/feat-9871.zh.md b/changes/v5.0.16/feat-9871.zh.md new file mode 100644 index 000000000..ecd526a93 --- /dev/null +++ b/changes/v5.0.16/feat-9871.zh.md @@ -0,0 +1,3 @@ +允许占位符出现在 `authz` 规则中的主题里的任意位置。 +例如: +`{allow, {username, "who"}, publish, ["t/foo${username}boo/${clientid}xxx"]}.`