Merge pull request #2071 from etkecc/postmoogle-users

bot-postmoogle: add POSTMOOGLE_USERS config option
This commit is contained in:
Slavi Pantaleev 2022-08-28 19:37:10 +03:00 committed by GitHub
commit 792bff91f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -84,6 +84,15 @@ matrix_bot_postmoogle_noowner: false
# Allow Postmoogle use by users over federation
matrix_bot_postmoogle_federation: false
# A list of whitelisted users allowed to use the bridge.
# If not defined, everyone is allowed.
# Example set of rules:
# - @someone:example.com
# - @another:example.com
# - @bot.*:example.com
# - @*:another.com
matrix_bot_postmoogle_users: []
# Sentry DSN
matrix_bot_postmoogle_sentry: ''

View File

@ -12,5 +12,6 @@ POSTMOOGLE_LOGLEVEL={{ matrix_bot_postmoogle_loglevel }}
POSTMOOGLE_NOENCRYPTION={{ matrix_bot_postmoogle_noencryption }}
POSTMOOGLE_NOOWNER={{ matrix_bot_postmoogle_noowner }}
POSTMOOGLE_FEDERATION={{ matrix_bot_postmoogle_federation }}
POSTMOOGLE_USERS={{ matrix_bot_postmoogle_users | default('') | join(' ') }}
{{ matrix_bot_postmoogle_environment_variables_extension }}