spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.88k stars 1.04k forks source link

Add ability to configure extra users (on other HSes) and bridge admins for the Whatsapp bridge #193

Closed Cadair closed 5 years ago

Cadair commented 5 years ago

There is currently no way to do this through the playbook (and it will be overwritten if you do it manually)

spantaleev commented 5 years ago

A next big task for the bridge roles (not just the Whatsapp bridge, but also all others) is to:

Someone had already expressed interest in attempting to implement the above this weekend. Hopefully we'll get a pull request soon!

spantaleev commented 5 years ago

This should be fixed by #207, which just got contributed by @tommes0815.

It adds:

Example:

matrix_mautrix_whatsapp_configuration_extension_yaml: |
  bridge:
    permissions:
      # Explicitly keep the default, although it possibly gets preserved during merging anyway.
      "{{ matrix_mautrix_whatsapp_homeserver_domain }}": user

      # Some addition
      '@user:another.homeserver.example.com': user

Refer to the changelog entry as well: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/CHANGELOG.md#bc-break-whatsapp-bridge-configuration-is-now-entirely-managed-by-the-playbook