From cd5a62bdd27da7bb59103b948a6fed73c8a0a017 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 17 Jun 2020 11:29:09 +1000 Subject: [PATCH] Added enable_group_creation --- roles/matrix.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/matrix.nix b/roles/matrix.nix index 12ffd36..9b38845 100644 --- a/roles/matrix.nix +++ b/roles/matrix.nix @@ -42,6 +42,9 @@ "turn:turn.mcwhirter.io:5350?transport=tcp" ]; url_preview_enabled = true; + extraConfig = '' + enable_group_creation: true # Allow users to create communities + ''; }; nginx = { @@ -106,7 +109,8 @@ { name = "matrix-synapse"; # Ensure the database user persists ensurePermissions = { # Ensure the database permissions persist - "DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES"; + #"DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES"; + #"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES"; }; } ];