Hi @iegomez! Good news! At this version, it appears some interesting messages! Please note that this node is with confirmed data:
//At first, check loragw
DEBU[2018-03-06T14:46:23-03:00] checking acl cache for loragw
DEBU[2018-03-06T14:46:23-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:23-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:23-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:23-03:00] Files acl check with user loragw, topic: gateway/7276ff00080801db/rx, clientid: 7b37cd02-b1af-419a-86e7-6faec934e3cb and acc: 2
INFO[2018-03-06T14:46:23-03:00] Files acl check passed.
DEBU[2018-03-06T14:46:23-03:00] user loragw acl authenticated with backend Files
DEBU[2018-03-06T14:46:23-03:00] setting acl cache (granted = true) for loragw
DEBU[2018-03-06T14:46:23-03:00] Acl is %!s(bool=true) for user loragw
// check do loraserver with acl
printf: acl check for username loraserver, topic gateway/7276ff00080801db/rx, clientid 14f90afd-1f5a-4280-9555-35be2ed91f4b and acc 1
DEBU[2018-03-06T14:46:23-03:00] checking acl cache for loraserver
DEBU[2018-03-06T14:46:23-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:23-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:23-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:23-03:00] Files acl check with user loraserver, topic: gateway/7276ff00080801db/rx, clientid: 14f90afd-1f5a-4280-9555-35be2ed91f4b and acc: 1
INFO[2018-03-06T14:46:23-03:00] Files acl check passed.
DEBU[2018-03-06T14:46:23-03:00] user loraserver acl authenticated with backend Files
DEBU[2018-03-06T14:46:23-03:00] setting acl cache (granted = true) for loraserver
DEBU[2018-03-06T14:46:23-03:00] Acl is %!s(bool=true) for user loraserver
//check lorappserver with node 0004a30b001abe98
printf: acl check for username loraappserver, topic application/1/node/0004a30b001abe98/rx, clientid e84479cb-1169-41f7-b560-8f254d6cfdbc and acc 2
DEBU[2018-03-06T14:46:24-03:00] checking acl cache for loraappserver
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:24-03:00] Files acl check with user loraappserver, topic: application/1/node/0004a30b001abe98/rx, clientid: e84479cb-1169-41f7-b560-8f254d6cfdbc and acc: 2
INFO[2018-03-06T14:46:23-03:00] Files acl check passed.
DEBU[2018-03-06T14:46:23-03:00] user loraserver acl authenticated with backend Files
DEBU[2018-03-06T14:46:23-03:00] setting acl cache (granted = true) for loraserver
DEBU[2018-03-06T14:46:23-03:00] Acl is %!s(bool=true) for user loraserver
printf: acl check for username loraappserver, topic application/1/node/0004a30b001abe98/rx, clientid e84479cb-1169-41f7-b560-8f254d6cfdbc and acc 2
DEBU[2018-03-06T14:46:24-03:00] checking acl cache for loraappserver
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:24-03:00] Files acl check with user loraappserver, topic: application/1/node/0004a30b001abe98/rx, clientid: e84479cb-1169-41f7-b560-8f254d6cfdbc and acc: 2
INFO[2018-03-06T14:46:24-03:00] Files acl check passed.
DEBU[2018-03-06T14:46:24-03:00] user loraappserver acl authenticated with backend Files
DEBU[2018-03-06T14:46:24-03:00] setting acl cache (granted = true) for loraappserver
DEBU[2018-03-06T14:46:24-03:00] Acl is %!s(bool=true) for user loraappserver
//check loraappserver ok
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
printf: acl check for username CPDET, topic application/1/node/0004a30b001abe98/rx, clientid mqtt_7c10e46a.fc20ac and acc 1
DEBU[2018-03-06T14:46:24-03:00] checking acl cache for CPDET
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:24-03:00] Files acl check with user CPDET, topic: application/1/node/0004a30b001abe98/rx, clientid: mqtt_7c10e46a.fc20ac and acc: 1
WARN[2018-03-06T14:46:24-03:00] Files acl check failed.
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Checking Postgres for ACL for username CPDET, clientid mqtt_7c10e46a.fc20ac, topic application/1/node/0004a30b001abe98/rx and access 1
DEBU[2018-03-06T14:46:24-03:00] sql query to be executed acc=1 query="select distinct 'application/' || a.id || '/#' from \"user\" u inner join organization_user ou on ou.user_id = u.id inner join organization o on o.id = ou.organization_id inner join application a on a.organization_id = o.id where u.username = $1 and $2 = $2" username=CPDET
DEBU[2018-03-06T14:46:24-03:00] user CPDET acl authenticated with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] setting acl cache (granted = true) for CPDET
DEBU[2018-03-06T14:46:24-03:00] Acl is %!s(bool=true) for user CPDET
printf: acl check for username det, topic application/1/node/0004a30b001abe98/rx, clientid 8165d083-a2aa-4c92-9fcf-28ba077be05f and acc 1
DEBU[2018-03-06T14:46:24-03:00] checking acl cache for det
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:24-03:00] Files acl check with user det, topic: application/1/node/0004a30b001abe98/rx, clientid: 8165d083-a2aa-4c92-9fcf-28ba077be05f and acc: 1
WARN[2018-03-06T14:46:24-03:00] Files acl check failed.
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Checking Postgres for ACL for username det, clientid 8165d083-a2aa-4c92-9fcf-28ba077be05f, topic application/1/node/0004a30b001abe98/rx and access 1
WARN[2018-03-06T14:46:24-03:00] Files acl check failed.
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Checking Postgres for ACL for username det, clientid 8165d083-a2aa-4c92-9fcf-28ba077be05f, topic application/1/node/0004a30b001abe98/rx and access 1
DEBU[2018-03-06T14:46:24-03:00] sql query to be executed acc=1 query="select distinct 'application/' || a.id || '/#' from \"user\" u inner join organization_user ou on ou.user_id = u.id inner join organization o on o.id = ou.organization_id inner join application a on a.organization_id = o.id where u.username = $1 and $2 = $2" username=det
DEBU[2018-03-06T14:46:24-03:00] setting acl cache (granted = false) for det
DEBU[2018-03-06T14:46:24-03:00] Acl is %!s(bool=false) for user det
printf: acl check for username loraserver, topic gateway/7276ff00080801db/tx, clientid 14f90afd-1f5a-4280-9555-35be2ed91f4b and acc 2
DEBU[2018-03-06T14:46:24-03:00] checking acl cache for loraserver
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:24-03:00] Files acl check with user loraserver, topic: gateway/7276ff00080801db/tx, clientid: 14f90afd-1f5a-4280-9555-35be2ed91f4b and acc: 2
INFO[2018-03-06T14:46:24-03:00] Files acl check passed.
DEBU[2018-03-06T14:46:24-03:00] user loraserver acl authenticated with backend Files
DEBU[2018-03-06T14:46:24-03:00] setting acl cache (granted = true) for loraserver
DEBU[2018-03-06T14:46:24-03:00] Acl is %!s(bool=true) for user loraserver
printf: acl check for username loragw, topic gateway/7276ff00080801db/tx, clientid 7b37cd02-b1af-419a-86e7-6faec934e3cb and acc 1
DEBU[2018-03-06T14:46:24-03:00] checking acl cache for loragw
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Files
DEBU[2018-03-06T14:46:24-03:00] Superuser check with backend Postgres
DEBU[2018-03-06T14:46:24-03:00] Acl check with backend Files
INFO[2018-03-06T14:46:24-03:00] Files acl check with user loragw, topic: gateway/7276ff00080801db/tx, clientid: 7b37cd02-b1af-419a-86e7-6faec934e3cb and acc: 1
Whats the difference, please, between acc1 and acc2
The pluging was crashing instead of message
warning: received null username, clientid or topic, or access is equal or less than 0 for acl check
EDIT: It works now with node said before