瀏覽代碼

bot-postmoogle: add POSTMOOGLE_USERS config option

pull/2071/head
Aine 3 年之前
父節點
當前提交
e8fd3fdc19
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 34969C908CCA2804
共有 2 個檔案被更改,包括 10 行新增0 行删除
  1. +9
    -0
      roles/matrix-bot-postmoogle/defaults/main.yml
  2. +1
    -0
      roles/matrix-bot-postmoogle/templates/env.j2

+ 9
- 0
roles/matrix-bot-postmoogle/defaults/main.yml 查看文件

@@ -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: ''



+ 1
- 0
roles/matrix-bot-postmoogle/templates/env.j2 查看文件

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

Loading…
取消
儲存