I added a user in RabbitMQ and edited the permissions to read ".*" in the RabbitMQ admin console.
The output of the command list_permissions
shows that the user "readman" only has read permissions.
$ rabbitmqctl list_permissions --vhost /
Listing permissions for vhost "/" ...
user configure write read
admin .* .* .*
guest .* .* .*
readman .*
However, I can still purge messages from the queue when logged in as "readman". Is this expected? How can I enable an user to view the queues and messages, but not to purge the queues's messages?