From 6b1ad4378d164d118af53b05ebfb32bebd5321dc Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 13 Oct 2024 06:36:06 +0200 Subject: [PATCH] bicep/matrix/hookshot: Set up slightly wider permissions --- hosts/bicep/services/matrix/hookshot/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/bicep/services/matrix/hookshot/default.nix b/hosts/bicep/services/matrix/hookshot/default.nix index fd0ea19..23ab086 100644 --- a/hosts/bicep/services/matrix/hookshot/default.nix +++ b/hosts/bicep/services/matrix/hookshot/default.nix @@ -65,6 +65,20 @@ in prefix = "!feeds"; service = "feeds"; }; + permissions = [ + # Users of the PVV Server + { actor = "pvv.ntnu.no"; + services = [ { service = "*"; level = "commands"; } ]; + } + # Members of Medlem space (for people with their own hs) + { actor = "!pZOTJQinWyyTWaeOgK:pvv.ntnu.no"; + services = [ { service = "*"; level = "commands"; } ]; + } + # Members of Drift + { actor = "!eYgeufLrninXxQpYml:pvv.ntnu.no"; + services = [ { service = "*"; level = "admin"; } ]; + } + ]; }; };