define matrix_admin in matrix-base

This commit is contained in:
Aine 2022-06-27 10:34:04 +03:00
parent 00192f6e94
commit 44f2234c99
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804
11 changed files with 13 additions and 10 deletions

View File

@ -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
# #

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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.

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}