Rabbit: add perm to write in a user's queue
This commit is contained in:
parent
4321d3e7a8
commit
58d7002000
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: "{{ username }}"
|
user: "{{ username }}"
|
||||||
vhost: "{{ vhost }}"
|
vhost: "{{ vhost }}"
|
||||||
read_priv: "^(amq\\.topic)|({{ username }}.*)$" # Read from queues prefixed with their name and from the exchange
|
read_priv: "^(amq\\.topic)|({{ username }}.*)$" # Read from queues prefixed with their name and bind to the topic exchange
|
||||||
write_priv: "amq\\.topic" # Publish to the topic exchange
|
write_priv: "^(amq\\.topic)|({{ username }}.*)$" # Write to queues prefixed with their name and publish to the topic exchange
|
||||||
configure_priv: "^$" # No configuration permissions
|
configure_priv: "^$" # No configuration permissions
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue