[rabbitmq-discuss] Permissions for aliveness-test user

Matthias Radestock matthias at rabbitmq.com
Mon Nov 26 09:48:33 GMT 2012


Jean Paul,

On 26/11/12 09:09, Jean Paul Galea wrote:
> rabbitmqctl add_user monitoring somerandpass
> rabbitmqctl set_permissions -p / monitoring '^aliveness-test|$'
> '^aliveness-test|$' '^aliveness-test|$'
>
> 'aliveness-test' is the resource name for the queue, and '' is the
> resource name for the exchange.

Are you sure the above works? As per 
http://www.rabbitmq.com/access-control.html the default exchange ('') 
gets mapped to 'amq.default' for permission checks.

For the aliveness test you need:
- write permissions on '^amq\.default$'
- configure and read permissions on '^aliveness-test$'

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list