Closed uvzubovs closed 4 years ago
Any progress with this issue? Anything you found?
The routing key part is addressed in https://github.com/rabbitmq/rabbitmq-server/issues/505 (#44) by introducing a separate endpoint.
The granularity of permissions in RabbitMQ is read
, write
, configure
and that has been the case for a decade. Starting with 3.7.0
, there are separate read
and write
permissions for topics as of 3.7.0
(https://github.com/rabbitmq/rabbitmq-server/issues/505 (#44) only introduce the write
part but we decided to separately add a read
one).
I'm not convinced per-operation granularity is essential: very very few users ask for it. The earliest it can be considered for is now 3.8.0
.
The granularity of permissions in RabbitMQ is read, write, configure and that has been the case for a decade
so we will keep it this way => this is a wontfix
.
Currently resource_path takes:
However, it is not clear what operation is being attempted. For instance, queue.bind and queue.unbind are both 'write' operations on the queue.
Also, there is no routing key. Can it be added (perhaps as a generic bag of attributes associated with an operation)? I understand that standard Rabbit authorization model does not go so deep so to consider routing keys, but since you give us control of the authorization repository, we would like to restrict to which topics (routing keys) the consumers may bind.
Thanks!