Fix mautrix-signal permissions configuration

Fixup for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1899
This commit is contained in:
Slavi Pantaleev 2022-06-28 17:53:57 +03:00
parent bff35926dc
commit c614b61e01
2 changed files with 4 additions and 4 deletions

View File

@ -99,6 +99,9 @@ matrix_mautrix_signal_relaybot_enabled: false
matrix_mautrix_signal_bridge_permissions: | matrix_mautrix_signal_bridge_permissions: |
'*': relay '*': relay
'{{ matrix_mautrix_signal_homeserver_domain }}': user '{{ matrix_mautrix_signal_homeserver_domain }}': user
{% if matrix_admin %}
"{{ matrix_admin }}": admin
{% endif %}
# Default configuration template which covers the generic use case. # Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.

View File

@ -225,9 +225,6 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
{{ matrix_mautrix_signal_bridge_permissions|from_yaml }} {{ matrix_mautrix_signal_bridge_permissions|from_yaml }}
{% if matrix_admin %}
"{{ matrix_admin }}": admin
{% endif %}
relay: relay:
# Whether or not relay mode should be allowed. If allowed, `!signal set-relay` can be used to turn any # Whether or not relay mode should be allowed. If allowed, `!signal set-relay` can be used to turn any