From b6694831fe46611428ae82b60cfe2559751831c2 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hosts/bicep/services/matrix/hookshot/default.nix b/hosts/bicep/services/matrix/hookshot/default.nix index b3cf1bb..6a547c0 100644 --- a/hosts/bicep/services/matrix/hookshot/default.nix +++ b/hosts/bicep/services/matrix/hookshot/default.nix @@ -66,6 +66,21 @@ in 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"; } ]; + } + ]; }; };