Missing variable prefix
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
b4462755f0
commit
1a962c0d71
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@ user_read_priv: "{{ user_publish_only|ternary('^$', '^(zmq\\.topic)|^(amq\\.topi
|
|||
|
||||
# Write privileges:
|
||||
# If publish_only: only write to the exchange. Otherwise, write to
|
||||
# queues prefixed with their name and any prefixes in write_queues,
|
||||
# queues prefixed with their name and any prefixes in user_write_queues,
|
||||
# and publish to the topic exchange
|
||||
user_write_priv: "^(amq\\.topic){% if not user_publish_only %}|({{ username }}.*){% for queue in write_queues|default([]) %}|({{ queue }}.*){% endfor %}{% endif %}$"
|
||||
user_write_priv: "^(amq\\.topic){% if not user_publish_only %}|({{ user_name }}.*){% for queue in user_write_queues|default([]) %}|({{ queue }}.*){% endfor %}{% endif %}$"
|
||||
|
||||
# Topic authorization:
|
||||
# Ref: https://www.rabbitmq.com/access-control.html#topic-authorisation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue