{"action":"opened","issue":{"url":"https://api.github.com/repos/emqx/emqx-auth-mysql/issues/105","repository_url":"https://api.github.com/repos/emqx/emqx-auth-mysql","labels_url":"https://api.github.com/repos/emqx/emqx-auth-mysql/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/emqx/emqx-auth-mysql/issues/105/comments","events_url":"https://api.github.com/repos/emqx/emqx-auth-mysql/issues/105/events","html_url":"https://github.com/emqx/emqx-auth-mysql/issues/105","id":391188827,"node_id":"MDU6SXNzdWUzOTExODg4Mjc=","number":105,"title":"ACL and wildcards subscriptions","user":{"login":"igor-d-deus","id":13272617,"node_id":"MDQ6VXNlcjEzMjcyNjE3","avatar_url":"https://avatars0.githubusercontent.com/u/13272617?v=4","gravatar_id":"","url":"https://api.github.com/users/igor-d-deus","html_url":"https://github.com/igor-d-deus","followers_url":"https://api.github.com/users/igor-d-deus/followers","following_url":"https://api.github.com/users/igor-d-deus/following{/other_user}","gists_url":"https://api.github.com/users/igor-d-deus/gists{/gist_id}","starred_url":"https://api.github.com/users/igor-d-deus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igor-d-deus/subscriptions","organizations_url":"https://api.github.com/users/igor-d-deus/orgs","repos_url":"https://api.github.com/users/igor-d-deus/repos","events_url":"https://api.github.com/users/igor-d-deus/events{/privacy}","received_events_url":"https://api.github.com/users/igor-d-deus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T16:54:38Z","updated_at":"2018-12-14T16:54:38Z","closed_at":null,"author_association":"NONE","body":"I'm having difficulties with subscriptions with + and # :\r\nExample:\r\nACL table:\r\nINSERT INTO `mqtt_acl` (`allow`, `ipaddr`, `username`, `access`, `topic`) VALUES\r\n(1, NULL, 'user1', 3, 'test/1-1/wtf'),\r\n(1, NULL, 'user1', 3, 'test/1-2/wtf'),\r\n(1, NULL, 'user1', 3, 'test/1-3/wtf'),\r\n(1, NULL, 'user1', 3, 'test/1-4/wtf'),\r\n(1, NULL, 'user1', 3, 'test/1-5/wtf'),\r\n(1, NULL, 'user2', 3, 'test/2-1/wtf'),\r\n(1, NULL, 'user2', 3, 'test/2-2/wtf'),\r\n(1, NULL, 'user2', 3, 'test/2-3/wtf'),\r\n(1, NULL, 'user3', 3, 'test/3-1/wtf'),\r\n(1, NULL, 'user3', 3, 'test/3-2/wtf');\r\nAnd when I'm trying to subs to test/+/wtf for user \"user3\" and getting Cannot SUBSCRIBE [{<<\"test/+/wtf\">>,[{qos,0}]}] for ACL Deny\r\nwhy it's happening? I thought I got subs to topics test/3-1/wtf test/3-2/wtf\r\n\r\nIf I creating acl for test/+/wtf this user getting all topics, not only this two.\r\n"}}
{"actor":{"display_login":"igor-d-deus"}}