update docs for https://github.com/emqtt/emqttd_plugin_mysql/issues/13
This commit is contained in:
parent
373a81fc57
commit
530c6e4645
|
@ -320,7 +320,7 @@ Configure 'aclquery' and 'acl_nomatch' in emqttd_plugin_mysql/etc/plugin.config:
|
||||||
...
|
...
|
||||||
|
|
||||||
%% comment this query, the acl will be disabled
|
%% comment this query, the acl will be disabled
|
||||||
{aclquery, "select * from mqtt_acl where ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c'"},
|
{aclquery, "select allow, ipaddr, username, clientid, access, topic from mqtt_acl where ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c'"},
|
||||||
|
|
||||||
%% If no rules matched, return...
|
%% If no rules matched, return...
|
||||||
{acl_nomatch, allow}
|
{acl_nomatch, allow}
|
||||||
|
|
Loading…
Reference in New Issue