define matrix_admin in matrix-base

development
Aine 2 years ago
parent 00192f6e94
commit 44f2234c99
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804

@ -8,6 +8,9 @@
# Example value: example.com # Example value: example.com
matrix_domain: ~ matrix_domain: ~
# The optional matrix admin MXID, used in bridges' configs to set bridge admin user
matrix_admin: ''
# This will contain the homeserver implementation that is in use. # This will contain the homeserver implementation that is in use.
# Valid values: synapse, dendrite # Valid values: synapse, dendrite
# #

@ -238,7 +238,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
"{{ matrix_beeper_linkedin_homeserver_domain }}": user "{{ matrix_beeper_linkedin_homeserver_domain }}": user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
"{{ matrix_admin }}": admin "{{ matrix_admin }}": admin
{% endif %} {% endif %}

@ -199,7 +199,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
"{{ matrix_go_skype_bridge_homeserver_domain }}": user "{{ matrix_go_skype_bridge_homeserver_domain }}": user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
"{{ matrix_admin }}": admin "{{ matrix_admin }}": admin
{% endif %} {% endif %}

@ -203,7 +203,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
'{{ matrix_mautrix_facebook_homeserver_domain }}': user '{{ matrix_mautrix_facebook_homeserver_domain }}': user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
'{{ matrix_admin }}': admin '{{ matrix_admin }}': admin
{% endif %} {% endif %}

@ -119,7 +119,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
'{{ matrix_mautrix_googlechat_homeserver_domain }}': user '{{ matrix_mautrix_googlechat_homeserver_domain }}': user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
'{{ matrix_admin }}': admin '{{ matrix_admin }}': admin
{% endif %} {% endif %}

@ -116,7 +116,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
'{{ matrix_mautrix_hangouts_homeserver_domain }}': user '{{ matrix_mautrix_hangouts_homeserver_domain }}': user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
'{{ matrix_admin }}': admin '{{ matrix_admin }}': admin
{% endif %} {% endif %}

@ -187,7 +187,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
"{{ matrix_mautrix_instagram_homeserver_domain }}": user "{{ matrix_mautrix_instagram_homeserver_domain }}": user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
"{{ matrix_admin }}": admin "{{ matrix_admin }}": admin
{% endif %} {% endif %}
# Provisioning API part of the web server for automated portal creation and fetching information. # Provisioning API part of the web server for automated portal creation and fetching information.

@ -225,7 +225,7 @@ 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 is defined and matrix_admin|length %} {% if matrix_admin %}
"{{ matrix_admin }}": admin "{{ matrix_admin }}": admin
{% endif %} {% endif %}

@ -291,7 +291,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
'{{ matrix_mautrix_telegram_homeserver_domain }}': full '{{ matrix_mautrix_telegram_homeserver_domain }}': full
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
'{{ matrix_admin }}': admin '{{ matrix_admin }}': admin
{% endif %} {% endif %}

@ -175,7 +175,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
'{{ matrix_mautrix_twitter_homeserver_domain }}': user '{{ matrix_mautrix_twitter_homeserver_domain }}': user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
'{{ matrix_admin }}': admin '{{ matrix_admin }}': admin
{% endif %} {% endif %}

@ -187,7 +187,7 @@ bridge:
# mxid - Specific user # mxid - Specific user
permissions: permissions:
"{{ matrix_mautrix_whatsapp_homeserver_domain }}": user "{{ matrix_mautrix_whatsapp_homeserver_domain }}": user
{% if matrix_admin is defined and matrix_admin|length %} {% if matrix_admin %}
"{{ matrix_admin }}": admin "{{ matrix_admin }}": admin
{% endif %} {% endif %}

Loading…
Cancel
Save