Skip to content

Implement ACL Engine #35

@JavaSaBr

Description

@JavaSaBr

Implement ACL Engine in EMQ style:

{allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}.
{allow, all, publish, ["/smarthome/%c/temperature"]}.
{allow, {ipaddr, "10.211.55.10"}, pubsub, ["$SYS/#", "#"]}.
{deny, all, subscribe, ["$SYS/#", {eq, "#"}]}.

Introduction: https://www.emqx.com/en/blog/authorization-in-mqtt-using-acls-to-control-access-to-mqtt-messaging
Authorization: https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html
Authentication: https://docs.emqx.com/en/emqx/latest/access-control/authn/acl.html

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions