Skip to content

Authorization to queues does not work correctly with AMQP 1.0 #10708

Answered by ansd
Amerrak asked this question in Other
Discussion options

You must be logged in to vote

@lukebakken The RabbitMQ authorisation model doesn't change with Native AMQP 1.0 in RabbitMQ 4.0.

As documented in https://www.rabbitmq.com/docs/access-control#authorisation a client that publishes a message needs merely write access to the exchange it is publishing to.

@Amerrak if you, as a RabbitMQ operator, grant write permissions to the amq.default exchange to the RabbitMQ users which your publishers authenticate with, it means that your publishers can indeed write into any queue because every queue implicitly binds to the default exchange with its queue name being the binding key.

This authorisation model works exactly the same way for both AMQP 0.9.1 and AMQP 1.0.

So, if you need mo…

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@Amerrak
Comment options

@michaelklishin
Comment options

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

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
4 participants
Converted from issue

This discussion was converted from issue #10708 on March 08, 2024 14:50.