Skip to content
Discussion options

You must be logged in to vote

Yes, this is desired behaviour.

Subscribing to topic # must fail if the user hasn't sufficient permissions to subscribe to all topics. RabbitMQ must not return "Success" for such a subscription and subsequently silently return only a subset of messages the user actually has permissions for.
Subscribing to topic # means that RabbitMQ creates a queue and binds it to the topic exchange receiving all messages published to the topic exchange. When binding the MQTT queue to the topic exchange, multiple access control checks take place. The user must have the following permissions:

  • Writing to the queue
  • Reading from the exchange
  • Reading from the topics.

See https://www.rabbitmq.com/access-contr…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MichaelUray
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ansd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants