Skip to content

The 'set_topic_permissions' command doesn't work? #717

Answered by Zerpet
sijiaQ asked this question in Q&A
Discussion options

You must be logged in to vote

I replicated the setup you are describing, and I am getting an access refused error, as expected. Using the Java client, I observe this error:

channel error; protocol method: #method<channel.close>(reply-code=403, reply-text=ACCESS_REFUSED - access to topic 'routingKey1' in exchange 'exchange1' in vhost '/' refused for user 'user1', class-id=50, method-id=20)

Please also note that topic authorization, in the AMQP protocol, is implemented slightly different, as described here: https://www.rabbitmq.com/access-control.html#topic-authorisation

In AMQP 0-9-1, for example, consumers consume from queues and thus the standard resource permissions apply. In addition for AMQP 0-9-1, binding routi…

Replies: 2 comments 1 reply

Comment options

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

Answer selected by sijiaQ
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #715 on June 04, 2021 12:42.