We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having difficulties with subscriptions with + and # : Example: ACL table: INSERT INTO mqtt_acl (allow, ipaddr, username, access, topic) VALUES (1, NULL, 'user1', 3, 'test/1-1/wtf'), (1, NULL, 'user1', 3, 'test/1-2/wtf'), (1, NULL, 'user1', 3, 'test/1-3/wtf'), (1, NULL, 'user1', 3, 'test/1-4/wtf'), (1, NULL, 'user1', 3, 'test/1-5/wtf'), (1, NULL, 'user2', 3, 'test/2-1/wtf'), (1, NULL, 'user2', 3, 'test/2-2/wtf'), (1, NULL, 'user2', 3, 'test/2-3/wtf'), (1, NULL, 'user3', 3, 'test/3-1/wtf'), (1, NULL, 'user3', 3, 'test/3-2/wtf'); And when I'm trying to subs to test/+/wtf for user "user3" and getting Cannot SUBSCRIBE [{<<"test/+/wtf">>,[{qos,0}]}] for ACL Deny why it's happening? I thought I got subs to topics test/3-1/wtf test/3-2/wtf
mqtt_acl
allow
ipaddr
username
access
topic
If I creating acl for test/+/wtf this user getting all topics, not only this two.
The text was updated successfully, but these errors were encountered:
tigercl
No branches or pull requests
I'm having difficulties with subscriptions with + and # :
Example:
ACL table:
INSERT INTO
mqtt_acl
(allow
,ipaddr
,username
,access
,topic
) VALUES(1, NULL, 'user1', 3, 'test/1-1/wtf'),
(1, NULL, 'user1', 3, 'test/1-2/wtf'),
(1, NULL, 'user1', 3, 'test/1-3/wtf'),
(1, NULL, 'user1', 3, 'test/1-4/wtf'),
(1, NULL, 'user1', 3, 'test/1-5/wtf'),
(1, NULL, 'user2', 3, 'test/2-1/wtf'),
(1, NULL, 'user2', 3, 'test/2-2/wtf'),
(1, NULL, 'user2', 3, 'test/2-3/wtf'),
(1, NULL, 'user3', 3, 'test/3-1/wtf'),
(1, NULL, 'user3', 3, 'test/3-2/wtf');
And when I'm trying to subs to test/+/wtf for user "user3" and getting Cannot SUBSCRIBE [{<<"test/+/wtf">>,[{qos,0}]}] for ACL Deny
why it's happening? I thought I got subs to topics test/3-1/wtf test/3-2/wtf
If I creating acl for test/+/wtf this user getting all topics, not only this two.
The text was updated successfully, but these errors were encountered: