From 8e3f7d978c9fd799b23886605543e5463b2710d3 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 9 Apr 2022 01:05:29 +0200 Subject: [PATCH] Handle /_synapse permission in change_url too --- scripts/change_url | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index fa8668e..699a502 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -122,7 +122,9 @@ ynh_add_config --template="log.yaml" --destination="/etc/matrix-$app/log.yaml" ynh_script_progression --message="Configuring permissions..." --weight=1 ynh_permission_url --permission=server_api --clear_urls -ynh_permission_url --permission=server_api --url=$domain/_matrix --additional_urls=$server_name/.well-known/matrix \ +ynh_permission_url --permission=server_api --url=$domain/_matrix --additional_urls=$server_name/.well-known/matrix +ynh_permission_url --permission=admin_api --clear_urls +ynh_permission_url --permission=admin_api --url=$domain/_synapse #================================================= # RELOAD SERVICES