Improved documentation about permissions

More info: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1699
This commit is contained in:
Iikka Järvenpää 2022-03-17 20:20:43 +00:00 committed by GitHub
parent 95cfbf0256
commit d5a79538a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,4 +49,19 @@ If you want to use the relay-bot feature ([relay bot documentation](https://docs
```yaml
matrix_mautrix_telegram_bot_token: YOUR_TELEGRAM_BOT_TOKEN
matrix_mautrix_telegram_configuration_extension_yaml: |
bridge:
permissions:
'*': relaybot
```
You might also want to give permissions to administrate the bot:
```yaml
matrix_mautrix_telegram_configuration_extension_yaml: |
bridge:
permissions:
'@user:DOMAIN': admin
```
More details about permissions in this example:
https://github.com/mautrix/telegram/blob/master/mautrix_telegram/example-config.yaml#L410