-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
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
Inconsistent rw Permission Behavior Not Matching Documentation #324
Comments
There's no issue in the plugin, if you're using a DB as backend you're in charge of writing correct auth logic via your queries, so you need to rewrite this:
Look at some old, closed issues, there are some examples in there. |
I read the old issue and replaced it with a strict equality
|
But 3 is not a valid ACL value, Mosquitto won't ever pass a 3 to be checked. |
I think I got it, thank you. |
Hello,
I've been working with
mosquitto-go-auth
and have encountered an issue with therw
permission setting that does not behave as expected based on the documentation. Specifically, the permission levels seem to act differently than described when attempting to publish and subscribe to topics. Here's a summary of the behavior I observed:rw
set to1
, I cannot perform any actions (neither publish nor subscribe).rw
set to2
or3
, publishing is possible, but subscribing is not.rw
is set to4
, both publishing and subscribing are allowed.Could you please look into this issue? Any clarification on the expected behavior of the
rw
permission settings or guidance on how to properly configure them would be greatly appreciated.mosqiutto.conf
:compose.yaml
:db
:The text was updated successfully, but these errors were encountered: