emqx / emqx/emqx-auth-pgsql

Cannot publish for ACL deny

Open
#88 0 comments 0 reactions 1 assignee Claimed by @terry-xiaoyu View on GitHub
question
Dominant language
Erlang
Stars
36
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Using 2.3.5 I am getting the following a lot:

```
Client(client_U20L4Z@12.34.56.78:1234): Cannot publish to 1234/abc for ACL Deny
```

Even though I have a row with clientid $all, access 2 and topic #. I am using emq-docker with the following env set:

```
EMQ_AUTH__PGSQL__ACL_QUERY
select allow, ipaddr, username, clientid, access, topic from mqtt_acl where ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c'
```

Any ideas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.