Properly escape the backslashes in the rabbit permissions regex

This commit is contained in:
Jeremy Cline 2019-03-19 17:57:38 +00:00
parent 0f75e2680e
commit a83bcf38ac

View file

@ -217,8 +217,8 @@
- vhost: /public_pubsub
# Matches, for example, de23804a-304a-4228-b239-35099c98bd1e
# Regex is Erlang flavored: http://erlang.org/doc/man/re.html
configure_priv: "^(\w{8}(-\w{4}){3}-\w{12})$"
write_priv: "^(\w{8}(-\w{4}){3}-\w{12})$"
configure_priv: "^(\\w{8}(-\\w{4}){3}-\\w{12})$"
write_priv: "^(\\w{8}(-\\w{4}){3}-\\w{12})$"
read_priv: .*
state: present
tags: