Purge queue permission on read not on write #10076
-
Describe the bugHi, Reproduction steps
Expected behavioronly write permissions user to this queue should be able to purge the queue Additional contextRabbitMQ 3.12.10 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Taking time to do an internet search would have allowed you to answer this yourself: https://www.google.com/search?q=rabbitmq+purge+read+permission Publishing messages to a queue is like writing to it. Purging a queue, which involves READING messages, requires the read permission. |
Beta Was this translation helpful? Give feedback.
-
|
As far as our team is concerned, for queues (not streams), a purge is no different from consuming and acknowledging all messages in a queue. Therefore the read permission. We will not be changing this, definitely not after almost 17 years. |
Beta Was this translation helpful? Give feedback.
Taking time to do an internet search would have allowed you to answer this yourself:
https://www.google.com/search?q=rabbitmq+purge+read+permission
Publishing messages to a queue is like writing to it.
Purging a queue, which involves READING messages, requires the read permission.