From 18cb45ce27cb56bdf17f553497edffbb0981720a Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 8 Jul 2020 21:37:00 +0200 Subject: [PATCH] add correct permissions --- rootfs/etc/confd/templates/config.yaml.tmpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rootfs/etc/confd/templates/config.yaml.tmpl b/rootfs/etc/confd/templates/config.yaml.tmpl index b2ebef5..882e398 100644 --- a/rootfs/etc/confd/templates/config.yaml.tmpl +++ b/rootfs/etc/confd/templates/config.yaml.tmpl @@ -314,10 +314,11 @@ bridge: # domain - All users on that homeserver # mxid - Specific user permissions: - "*": "relaybot" - "public.example.com": "user" - "example.com": "full" - "@admin:example.com": "admin" + permissions: + '*': relaybot + "{{ getenv "SERVER_DOMAIN" }}": full + "{{ getenv "ADMIN_USER" }}": admin + # Options related to the message relay Telegram bot. relaybot: