define matrix_admin in matrix-base
This commit is contained in:
roles
matrix-base
defaults
matrix-bridge-beeper-linkedin
templates
matrix-bridge-go-skype-bridge
templates
matrix-bridge-mautrix-facebook
templates
matrix-bridge-mautrix-googlechat
templates
matrix-bridge-mautrix-hangouts
templates
matrix-bridge-mautrix-instagram
templates
matrix-bridge-mautrix-signal
templates
matrix-bridge-mautrix-telegram
templates
matrix-bridge-mautrix-twitter
templates
matrix-bridge-mautrix-whatsapp
templates
@@ -8,6 +8,9 @@
|
||||
# Example value: example.com
|
||||
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.
|
||||
# Valid values: synapse, dendrite
|
||||
#
|
||||
|
@@ -238,7 +238,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
"{{ matrix_beeper_linkedin_homeserver_domain }}": user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
"{{ matrix_admin }}": admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -199,7 +199,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
"{{ matrix_go_skype_bridge_homeserver_domain }}": user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
"{{ matrix_admin }}": admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -203,7 +203,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
'{{ matrix_mautrix_facebook_homeserver_domain }}': user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
'{{ matrix_admin }}': admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -119,7 +119,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
'{{ matrix_mautrix_googlechat_homeserver_domain }}': user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
'{{ matrix_admin }}': admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -116,7 +116,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
'{{ matrix_mautrix_hangouts_homeserver_domain }}': user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
'{{ matrix_admin }}': admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -187,7 +187,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
"{{ matrix_mautrix_instagram_homeserver_domain }}": user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
"{{ matrix_admin }}": admin
|
||||
{% endif %}
|
||||
# Provisioning API part of the web server for automated portal creation and fetching information.
|
||||
|
@@ -225,7 +225,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
{{ matrix_mautrix_signal_bridge_permissions|from_yaml }}
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
"{{ matrix_admin }}": admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -291,7 +291,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
'{{ matrix_mautrix_telegram_homeserver_domain }}': full
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
'{{ matrix_admin }}': admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -175,7 +175,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
'{{ matrix_mautrix_twitter_homeserver_domain }}': user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
'{{ matrix_admin }}': admin
|
||||
{% endif %}
|
||||
|
||||
|
@@ -187,7 +187,7 @@ bridge:
|
||||
# mxid - Specific user
|
||||
permissions:
|
||||
"{{ matrix_mautrix_whatsapp_homeserver_domain }}": user
|
||||
{% if matrix_admin is defined and matrix_admin|length %}
|
||||
{% if matrix_admin %}
|
||||
"{{ matrix_admin }}": admin
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user