Rabbit: add perm to read from the exchange

This commit is contained in:
Aurélien Bompard 2019-03-01 13:07:15 +00:00
parent a246b5443a
commit 91862963c6

View file

@ -25,8 +25,8 @@
rabbitmq_user:
user: "{{ username }}"
vhost: "{{ vhost }}"
read_priv: "^{{ username }}.*$" # Read from queues prefixed with their name
write_priv: "amq.topic" # Publish to the topic exchange
read_priv: "^(amq\.topic)|{{ username }}.*)$" # Read from queues prefixed with their name and from the exchange
write_priv: "amq\.topic" # Publish to the topic exchange
configure_priv: "^$" # No configuration permissions
state: present